Messages in this thread Patch in this message | | | From | Jesper Falk <> | Subject | [PATCH] Power: da9030 and da9059 Fixed coding style | Date | Mon, 6 Jan 2014 17:54:57 +0100 |
| |
Fixed coding style in da9030_battery and da9052-battery
Signed-off-by: Jesper Falk <jesperfalk94@gmail.com> --- .gitignore | 2 +- drivers/power/da9030_battery.c | 2 +- drivers/power/da9052-battery.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore index 7e9932e..681849a 100644 --- a/.gitignore +++ b/.gitignore @@ -44,7 +44,7 @@ modules.builtin /vmlinuz /System.map /Module.markers -/Module.symvers +*/Module.symvers # # Debian directory (make deb-pkg) diff --git a/drivers/power/da9030_battery.c b/drivers/power/da9030_battery.c index ae6c418..82316ad 100644 --- a/drivers/power/da9030_battery.c +++ b/drivers/power/da9030_battery.c @@ -2,7 +2,7 @@ * Battery charger driver for Dialog Semiconductor DA9030 * * Copyright (C) 2008 Compulab, Ltd. - * Mike Rapoport <mike@compulab.co.il> + * Mike Rapoport <mike@compulab.co.il> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/drivers/power/da9052-battery.c b/drivers/power/da9052-battery.c index f8f4c0f..9972085 100644 --- a/drivers/power/da9052-battery.c +++ b/drivers/power/da9052-battery.c @@ -484,7 +484,7 @@ static int da9052_USB_current_notifier(struct notifier_block *nb, *current_mA > da9052_chg_current_lim[row][DA9052_CHG_LIM_COLS - 1]) return -EINVAL; - for (col = 0; col <= DA9052_CHG_LIM_COLS - 1 ; col++) { + for (col = 0; col <= DA9052_CHG_LIM_COLS - 1; col++) { if (*current_mA <= da9052_chg_current_lim[row][col]) break; } -- 1.8.5.2
| |