forked from luck/tmp_suning_uos_patched
cd78dfc6c6
When regulator_desc->type is something different from REGULATOR_VOLTAGE or REGULATOR_CURRENT the if should probably return ERR_PTR(-EINVAL) The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) @@ expression E; constant C; @@ ( - !E == C + E != C ) Signed-off-by: Diego Liziero <diegoliz@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> |
||
---|---|---|
.. | ||
bq24022.c | ||
core.c | ||
da903x.c | ||
fixed.c | ||
Kconfig | ||
Makefile | ||
pcf50633-regulator.c | ||
twl4030-regulator.c | ||
virtual.c | ||
wm8350-regulator.c | ||
wm8400-regulator.c |