From: Jesper Falk <jesperfalk94@gmail.com>
To: anton@enomsg.org
Cc: dwmw2@infradead.org, markus@trippelsdorf.de,
akpm@linux-foundation.org, kyungsik.lee@lge.com,
linux-kernel@vger.kernel.org,
Jesper Falk <jesperfalk94@gmail.com>
Subject: [PATCH] Power: da9030 and da9059 Fixed coding style
Date: Mon, 6 Jan 2014 17:54:57 +0100 [thread overview]
Message-ID: <1389027297-14419-1-git-send-email-jesperfalk94@gmail.com> (raw)
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
next reply other threads:[~2014-01-06 16:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-06 16:54 Jesper Falk [this message]
2014-01-06 17:15 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1389027297-14419-1-git-send-email-jesperfalk94@gmail.com \
--to=jesperfalk94@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=anton@enomsg.org \
--cc=dwmw2@infradead.org \
--cc=kyungsik.lee@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=markus@trippelsdorf.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®