mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Power: da9030 and da9059 Fixed coding style
@ 2014-01-06 16:54 Jesper Falk
  2014-01-06 17:15 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Jesper Falk @ 2014-01-06 16:54 UTC (permalink / raw)
  To: anton; +Cc: dwmw2, markus, akpm, kyungsik.lee, linux-kernel, Jesper Falk

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Power: da9030 and da9059 Fixed coding style
  2014-01-06 16:54 [PATCH] Power: da9030 and da9059 Fixed coding style Jesper Falk
@ 2014-01-06 17:15 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2014-01-06 17:15 UTC (permalink / raw)
  To: Jesper Falk; +Cc: anton, dwmw2, markus, akpm, kyungsik.lee, linux-kernel

On Mon, 2014-01-06 at 17:54 +0100, Jesper Falk wrote:
> 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(-)

Adding to .gitignore too?

Please verify your patches before sending them.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-06 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-06 16:54 [PATCH] Power: da9030 and da9059 Fixed coding style Jesper Falk
2014-01-06 17:15 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®