lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon,  6 Jan 2014 17:54:57 +0100
From:	Jesper Falk <jesperfalk94@...il.com>
To:	anton@...msg.org
Cc:	dwmw2@...radead.org, markus@...ppelsdorf.de,
	akpm@...ux-foundation.org, kyungsik.lee@....com,
	linux-kernel@...r.kernel.org, Jesper Falk <jesperfalk94@...il.com>
Subject: [PATCH] Power: da9030 and da9059 Fixed coding style

Fixed coding style in da9030_battery and da9052-battery

Signed-off-by: Jesper Falk <jesperfalk94@...il.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@...pulab.co.il>
+ *	Mike Rapoport <mike@...pulab.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ