public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Jones <erik@ejnode.com>
To: gregkh@linuxfoundation.org
Cc: edwin_rong@realsil.com.cn, dan.carpenter@oracle.com,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Erik Jones <erik@ejnode.com>
Subject: [PATCH 1/2] staging: rts5139: rts51x_card: fixed brace coding style issue
Date: Mon, 16 Jul 2012 22:52:33 -0400	[thread overview]
Message-ID: <1342493554-16554-2-git-send-email-erik@ejnode.com> (raw)
In-Reply-To: <1342493554-16554-1-git-send-email-erik@ejnode.com>

Fixed a coding style issue.

Signed-off-by: Erik Jones <erik@ejnode.com>
---
 drivers/staging/rts5139/rts51x_card.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rts5139/rts51x_card.c b/drivers/staging/rts5139/rts51x_card.c
index 4192c3b..a3cb559 100644
--- a/drivers/staging/rts5139/rts51x_card.c
+++ b/drivers/staging/rts5139/rts51x_card.c
@@ -211,13 +211,12 @@ static void card_cd_debounce(struct rts51x_chip *chip, u8 *need_reset,
 				release_map |= MS_CARD;
 		}
 	} else {
-		if (chip->card_status & XD_CD) {
+		if (chip->card_status & XD_CD)
 			reset_map |= XD_CARD;
-		} else if (chip->card_status & SD_CD) {
+		else if (chip->card_status & SD_CD)
 			reset_map |= SD_CARD;
-		} else if (chip->card_status & MS_CD) {
+		else if (chip->card_status & MS_CD)
 			reset_map |= MS_CARD;
-		}
 	}
 
 	if (CHECK_PKG(chip, QFN24) && reset_map) {
-- 
1.7.9.5


  reply	other threads:[~2012-07-17  3:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17  2:52 staging: rts5139: rts51x_card: coding style fix Erik Jones
2012-07-17  2:52 ` Erik Jones [this message]
2012-07-17  2:52 ` [PATCH 2/2] staging: rts5139: rts51x_card: fixed brace coding style issue Erik Jones
2012-07-17  3:37 ` staging: rts5139: rts51x_card: coding style fix Erik Jones
  -- strict thread matches above, loose matches on Subject: below --
2012-07-17  3:51 [RESEND PATCH 0] " Erik Jones
2012-07-17  3:51 ` [PATCH 1/2] staging: rts5139: rts51x_card: fixed brace coding style issue Erik Jones

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=1342493554-16554-2-git-send-email-erik@ejnode.com \
    --to=erik@ejnode.com \
    --cc=dan.carpenter@oracle.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=edwin_rong@realsil.com.cn \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@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