u-boot-brain/drivers/power
Jeroen Hofstee 00d4796c55 PMIC: MAX77686: fix invalid bus check
Since p->bus is unsigned checking for negative values
is optimized away. Since bus is already used as an argument
use tmp. While at it, don't declare variables in the middle
of a function.

cc: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2014-06-23 10:04:13 +09:00
..
battery power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
fuel_gauge fuelgauge: max17042: fix i2c read issue which causes infinity loop. 2014-01-14 09:01:05 -05:00
mfd power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
pmic PMIC: MAX77686: fix invalid bus check 2014-06-23 10:04:13 +09:00
exynos-tmu.c power: exynos-tmu: use the mux_addr bit fields in tmu_control register 2013-06-13 17:53:37 +09:00
ftpmu010.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
palmas.c ARM: OMAP5: Power: Add new function to turn on SMPS10 2013-10-20 23:42:39 +02:00
power_core.c power: fix: Do not execute pmic command when not all necessary parameters are passed 2014-02-24 10:56:33 -05: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: Explicitly select pmic device's bus 2014-05-28 10:58:19 +09:00
power_spi.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
tps6586x.c tps6586x: staticize funtions 2014-05-12 15:19:46 -04:00
twl4030.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
twl6030.c ARMV7: OMAP4: Add twl6032 support 2013-12-04 08:11:28 -05:00