u-boot/drivers/power
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
..
battery power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
domain dm: power: domain: add BCM6328 power domain driver 2017-05-10 16:16:09 +02:00
fuel_gauge power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
mfd power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
pmic power: rk808: rename to rk8xx 2017-05-10 13:37:22 -06:00
regulator drivers/power/regulator/max77686.c: Fix comparisons of unsigned expressions 2017-05-29 17:28:52 +09:00
axp152.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
axp209.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
axp221.c sunxi: axp2xx: disable ldoio0/1 at boot 2016-09-17 14:37:39 +02:00
axp809.c sunxi: power: axp809.c: Fix aldo1-2 being disabled for mvolt != 0 2017-03-09 11:26:02 +09:00
axp818.c sunxi: Implement poweroff support for axp818 pmic 2016-05-25 17:52:39 +02:00
exynos-tmu.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
ftpmu010.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig power: twl4030: Add imply CMD_POWEROFF when TWL4030 is enabled 2017-05-15 13:00:27 -04:00
Makefile power: Move as3722 pmic to pmic/ directory 2017-04-30 10:29:49 -04:00
palmas.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
power_core.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
power_dialog.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
power_fsl.c power: Rename CONFIG_PMIC_... to CONFIG_POWER_... 2014-05-28 10:58:18 +09:00
power_i2c.c power_i2c.c: Fix unused variable warning 2017-01-11 09:16:05 -05:00
power_spi.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
sy8106a.c sunxi: power: Compile sy8106a driver only during SPL build 2017-04-28 09:18:54 +02:00
tps6586x.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
twl4030.c power: twl4030: Add CONFIG_CMD_POWEROFF support 2017-05-09 20:35:38 -04:00
twl6030.c power: twl6030: fix code refactoring 2016-10-24 08:04:38 -04:00