u-boot-brain/drivers/power/regulator
Tom Rini aae78fa774 drivers/power/regulator/max77686.c: Fix comparisons of unsigned expressions
Inside of
max77686_buck_volt2hex/max77686_buck_hex2volt/max77686_ldo_volt2hex we
check that the value we calculate is >= 0 however we declare 'hex' as
unsigned int making these always true.  Mark these as 'int' instead.  We
also move hex_max to int as they are constants that are 0x3f/0xff.
Given that the above functions are marked as returning an int, make the
variables we assign their return value to also be int to be able to
catch the error condition now.  Reported by clang-3.8.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-05-29 17:28:52 +09:00
..
act8846.c power: regulator: act8846: fix reading values 2016-08-12 09:23:12 -06:00
fixed.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
gpio-regulator.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
Kconfig power: rk808: rename to rk8xx 2017-05-10 13:37:22 -06:00
lp873x_regulator.c power: regulator: lp873x: Add regulator support 2016-10-11 10:17:06 -06:00
Makefile power: rk808: rename to rk8xx 2017-05-10 13:37:22 -06:00
max77686.c drivers/power/regulator/max77686.c: Fix comparisons of unsigned expressions 2017-05-29 17:28:52 +09:00
palmas_regulator.c regulator: palmas: Fix smps6 - smps9 indices 2017-02-08 16:24:27 -05:00
pfuze100.c power: regulator: add pfuze100 support 2015-08-12 11:04:58 +02:00
pwm_regulator.c power: regulator: pwm: support pwm polarity setting 2017-05-10 13:37:21 -06:00
regulator-uclass.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
rk8xx.c power: rk808: rename to rk8xx 2017-05-10 13:37:22 -06:00
s5m8767.c dm: power: Add support for S5M8767 regulators 2015-08-05 21:06:12 -06:00
sandbox.c sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator 2015-05-14 19:58:34 -06:00
tps65090_regulator.c dm: power: Add support for TPS65090 FETs 2015-08-05 21:06:12 -06:00