regulator: gpio-regulator: Catch 'no states property' misuse
authorLee Jones <lee.jones@linaro.org>
Wed, 14 Nov 2012 11:51:36 +0000 (11:51 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Nov 2012 11:58:09 +0000 (20:58 +0900)
commit216f2b9c95ac6e4f00b08df807bc4454434a9afb
tree5465802601b41d58bed5081b89c089da128d4731
parentf8a9f757cb425c4784b80b001c7a77c7810b499f
regulator: gpio-regulator: Catch 'no states property' misuse

A selection of voltage or current values (AKA states) should always
be specified when using a GPIO regulator. If there are no switchable
states then the fixed regulators should be used instead.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/regulator/gpio-regulator.txt
drivers/regulator/gpio-regulator.c