]> 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)
commit25dddb05bd13fdb4b60c48f6a815c850e9a09f25
tree7929c1c1cf1e595937d10a14f85a19dc10156d22
parent1cf1573de3e2226dffae925aad11feca0409f443
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