[U-Boot] [PATCHv2] power: change from meaningless value to error number
Simon Glass
sjg at chromium.org
Sat Dec 17 23:48:03 CET 2016
On 15 December 2016 at 04:49, Jaehoon Chung <jh80.chung at samsung.com> wrote:
> '-1' is absolutely meaningless value.
> This patch changed from meaningless value to error number.
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> ---
> Changelog on V2
> - Fixes the missing error number in exynos-tmu.c
>
> drivers/power/axp152.c | 2 +-
> drivers/power/axp209.c | 2 +-
> drivers/power/battery/bat_trats2.c | 2 +-
> drivers/power/exynos-tmu.c | 8 ++++----
> drivers/power/fuel_gauge/fg_max17042.c | 4 ++--
> drivers/power/mfd/fg_max77693.c | 4 ++--
> drivers/power/mfd/pmic_max77693.c | 8 ++++----
> drivers/power/palmas.c | 11 +++++++----
> drivers/power/pmic/pmic_hi6553.c | 4 ++--
> drivers/power/pmic/pmic_max77686.c | 18 +++++++++---------
> drivers/power/pmic/pmic_max8997.c | 8 ++++----
> drivers/power/power_core.c | 8 ++++----
> drivers/power/power_i2c.c | 22 +++++++++++-----------
> drivers/power/power_spi.c | 18 ++++++------------
> drivers/power/tps6586x.c | 12 ++++++------
> 15 files changed, 64 insertions(+), 67 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list