]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7ea27a0623a598a7552fd3abf474f23cca51280
tree7929c1c1cf1e595937d10a14f85a19dc10156d22
parentd2a5c83f5a9913a4fe9fc92ccd72c6fce5a1fa22
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