regulator: core: Use a bitfield for continuous_voltage_range
authorMark Brown <broonie@kernel.org>
Thu, 21 Jan 2016 20:19:41 +0000 (20:19 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Apr 2016 16:38:52 +0000 (17:38 +0100)
commitde4a54c4dfaed0604565c1b27488dce56997acc0
tree7929c1c1cf1e595937d10a14f85a19dc10156d22
parent07c5c3ad98926dc15d31aa86de62fd4170f2a745
regulator: core: Use a bitfield for continuous_voltage_range

Using a bitfield enables the compiler to lay out the structure more
efficiently when we have other boolean flags since multiple values can
be included in a single byte.

Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regulator/driver.h