linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sangho Yi <antiroot@gmail.com>
To: prakity@marvell.com, aaron.lu@amd.com, linus.walleij@linaro.org,
	ulf.hansson@stericsson.com, cjb@laptop.org
Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org,
	Sangho Yi <antiroot@gmail.com>
Subject: [PATCH 2/3] drivers: mmc: core: sdio.c: fixed coding style error on for() statement
Date: Fri, 19 Oct 2012 01:06:33 +0900	[thread overview]
Message-ID: <1350576394-2008-2-git-send-email-antiroot@gmail.com> (raw)
In-Reply-To: <1350576394-2008-1-git-send-email-antiroot@gmail.com>

add a whitespace after ";" on for statement, to follow a coding style guideline.

Signed-off-by: Sangho Yi <antiroot@gmail.com>
---
 drivers/mmc/core/sdio.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
index 14326e8..df09b63 100644
--- a/drivers/mmc/core/sdio.c
+++ b/drivers/mmc/core/sdio.c
@@ -819,7 +819,7 @@ static void mmc_sdio_remove(struct mmc_host *host)
 	BUG_ON(!host);
 	BUG_ON(!host->card);
 
-	for (i = 0;i < host->card->sdio_funcs;i++) {
+	for (i = 0; i < host->card->sdio_funcs; i++) {
 		if (host->card->sdio_func[i]) {
 			sdio_remove_func(host->card->sdio_func[i]);
 			host->card->sdio_func[i] = NULL;
@@ -1151,7 +1151,7 @@ int mmc_attach_sdio(struct mmc_host *host)
 	/*
 	 * ...then the SDIO functions.
 	 */
-	for (i = 0;i < funcs;i++) {
+	for (i = 0; i < funcs; i++) {
 		err = sdio_add_func(host->card->sdio_func[i]);
 		if (err)
 			goto remove_added;
-- 
1.7.9.5


  reply	other threads:[~2012-10-18 16:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 16:06 [PATCH 1/3] drivers: mmc: core: sdio.c: fixed lines with > 80 chars Sangho Yi
2012-10-18 16:06 ` Sangho Yi [this message]
2012-10-18 16:10   ` [PATCH 2/3] drivers: mmc: core: sdio.c: fixed coding style error on for() statement Philip Rakity
2012-10-18 16:06 ` [PATCH 3/3] drivers: mmc: core: sdio.c: fixed from pr_warning(... to pr_warn( Sangho Yi
  -- strict thread matches above, loose matches on Subject: below --
2012-10-17 14:13 [PATCH 1/3] drivers: mmc: core: sdio.c: fixed lines with > 80 chars Sangho Yi
2012-10-17 14:13 ` [PATCH 2/3] drivers: mmc: core: sdio.c: fixed coding style error on for() statement Sangho Yi

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=1350576394-2008-2-git-send-email-antiroot@gmail.com \
    --to=antiroot@gmail.com \
    --cc=aaron.lu@amd.com \
    --cc=cjb@laptop.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=prakity@marvell.com \
    --cc=ulf.hansson@stericsson.com \
    /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;
as well as URLs for NNTP newsgroup(s).