[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160123151616.GH6588@sirena.org.uk>
Date: Sat, 23 Jan 2016 15:16:16 +0000
From: Mark Brown <broonie@...nel.org>
To: Joe Perches <joe@...ches.com>
Cc: Paul Kocialkowski <contact@...lk.fr>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] regulator: core: Use a bitfield for
continuous_voltage_range
On Fri, Jan 22, 2016 at 01:42:33PM -0800, Joe Perches wrote:
> On Fri, 2016-01-22 at 21:31 +0000, Mark Brown wrote:
> > It adds up when you get more flags and these are not in the least bit
> > performance sensitive.
> Sure, but intelligibility is useful too.
I'm really not sure the use of small integers for boolean flags is going
to be an especially troubling barrier for people.
> Do you expect to have more than 4 of these flags?
It's plausible.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists