linux-stable/include/linux/regulator
Tim Kryger df7926fffa regulator: core: Return error in get optional stub
Drivers that call regulator_get_optional are tolerant to the absence of
that regulator.  By modifying the value returned from the stub function
to match that seen when a regulator isn't present, callers can wrap the
regulator logic with an IS_ERR based conditional even if they happen to
call regulator_is_supported_voltage.  This improves efficiency as well
as eliminates the possibility for a very subtle bug.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-04-18 15:11:54 +01:00
..
ab8500.h regulator: ab8500-ext: Register as a device in its own right 2013-06-11 12:50:00 +01:00
act8865.h regulator: act8865: add PMIC act8865 driver 2013-12-24 13:47:40 +00:00
consumer.h regulator: core: Return error in get optional stub 2014-04-18 15:11:54 +01:00
db8500-prcmu.h
driver.h regulator: helpers: Modify helpers enabling multi-bit control 2014-03-06 17:30:10 +08:00
fan53555.h regulator: fan53555: Prevent multiple include of fan53555.h 2013-08-07 10:38:16 +01:00
fixed.h
gpio-regulator.h
lp872x.h
lp3971.h
lp3972.h
machine.h Merge remote-tracking branch 'regulator/topic/optional' into regulator-next 2013-10-24 11:11:39 +01:00
max1586.h
max8649.h
max8660.h regulators: max8660: add DT bindings 2013-08-02 17:29:54 +01:00
max8952.h regulator: max8952: Add Device Tree support 2013-04-05 11:20:52 +01:00
max8973-regulator.h
of_regulator.h
pfuze100.h regulator: pfuze100: add pfuze200 support 2014-03-04 17:40:31 +08:00
tps6507x.h
tps51632-regulator.h
tps62360.h
userspace-consumer.h