original_kernel/drivers/regulator
Jesper Juhl 4b2f67d756 regulator, mc13xxx: Remove pointless test for unsigned less than zero
The variable 'val' is a 'unsigned int', so it can never be less than zero.
This fact makes the "val < 0" part of the test done in BUG_ON() in
mc13xxx_regulator_get_voltage() rather pointles since it can never have
any effect.
This patch removes the pointless test.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2011-02-25 08:51:07 +00:00
..
88pm8607.c
Kconfig
Makefile
ab3100.c
ab8500.c
ad5398.c
bq24022.c
core.c
da903x.c
dummy.c
dummy.h
fixed.c
isl6271a-regulator.c
lp3971.c
lp3972.c
max1586.c
max8649.c
max8660.c
max8925-regulator.c
max8952.c
max8998.c regulator: Support MAX8998/LP3974 DVS-GPIO 2011-01-14 12:38:16 +01:00
mc13xxx-regulator-core.c regulator, mc13xxx: Remove pointless test for unsigned less than zero 2011-02-25 08:51:07 +00:00
mc13xxx.h
mc13783-regulator.c
mc13892-regulator.c
pcap-regulator.c
pcf50633-regulator.c
tps6507x-regulator.c
tps6524x-regulator.c
tps6586x-regulator.c
tps65023-regulator.c
twl-regulator.c
userspace-consumer.c
virtual.c
wm831x-dcdc.c regulator: Fix warning with CONFIG_BUG disabled 2011-02-25 08:51:05 +00:00
wm831x-isink.c
wm831x-ldo.c
wm8350-regulator.c
wm8400-regulator.c
wm8994-regulator.c