From: Michel von Czettritz <michel.von.czettritz@gmail.com>
To: linux-fbdev@vger.kernel.org
Subject: [PATCH 06/13] staging: sm750: newline before { in function decl.
Date: Sun, 22 Mar 2015 23:13:06 +0000 [thread overview]
Message-ID: <20150322231306.GA17183@x230-arch.club.entropia.de> (raw)
This patch fixes checkpatch.pl error:
"ERROR: open brace '{' following function declarations go on the next line"
Signed-off-by: Michel von Czettritz <michel.von.czettritz@gmail.com>
---
drivers/staging/sm750fb/sm750.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index ad0c663..a0a8db7 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -58,7 +58,8 @@ static char *g_option = NULL;
/* if not use spin_lock,system will die if user load driver
* and immediatly unload driver frequently (dual)*/
-static inline void myspin_lock(spinlock_t *sl) {
+static inline void myspin_lock(spinlock_t *sl)
+{
struct lynx_share *share;
share = container_of(sl, struct lynx_share, slock);
if (share->dual) {
@@ -66,7 +67,8 @@ static inline void myspin_lock(spinlock_t *sl) {
}
}
-static inline void myspin_unlock(spinlock_t *sl) {
+static inline void myspin_unlock(spinlock_t *sl)
+{
struct lynx_share *share;
share = container_of(sl, struct lynx_share, slock);
if (share->dual) {
--
2.3.3
reply other threads:[~2015-03-22 23:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20150322231306.GA17183@x230-arch.club.entropia.de \
--to=michel.von.czettritz@gmail.com \
--cc=linux-fbdev@vger.kernel.org \
/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