Skip to contentSkip to conversation

Power: da9030 and da9059 Fixed coding style

PATCH In review Jesper Falk 2 participants 2 messages Jan 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Power: da9030 and da9059 Fixed coding style

Fixed coding style in da9030_battery and da9052-battery

---
 .gitignore                     | 2 +-
 drivers/power/da9030_battery.c | 2 +-
 drivers/power/da9052-battery.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
.gitignore +1 -1
index 7e9932e..681849a 100644
@@ -44,7 +44,7 @@ modules.builtin
 /vmlinuz
 /System.map
 /Module.markers
-/Module.symvers
+*/Module.symvers
 
 #
 # Debian directory (make deb-pkg)
drivers/power/da9030_battery.c +1 -1
index ae6c418..82316ad 100644
@@ -2,7 +2,7 @@
  * Battery charger driver for Dialog Semiconductor DA9030
  *
  * Copyright (C) 2008 Compulab, Ltd.
- * 	Mike Rapoport <[email protected]>
+ *	Mike Rapoport <[email protected]>
  *
  * 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
drivers/power/da9052-battery.c +1 -1
index f8f4c0f..9972085 100644
@@ -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;
 	}
Signature · 1 line
1.8.5.2
#1 lore raw
Quoted 8 lines · Jesper Falk

Fixed coding style in da9030_battery and da9052-battery

---
 .gitignore                     | 2 +-
 drivers/power/da9030_battery.c | 2 +-
 drivers/power/da9052-battery.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Adding to .gitignore too?

Please verify your patches before sending them.