diff options
author | Erik Jones <erik@ejnode.com> | 2012-07-17 05:51:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-17 19:30:59 +0200 |
commit | 39d48bb0607f1c8ac4c57ddba534a402f4fc91e7 (patch) | |
tree | 15801228266da8ba18cdad0dadee16a28fdc6c15 /drivers | |
parent | Merge tag 'iio-fixes-3.6b' of git://git.kernel.org/pub/scm/linux/kernel/git/j... (diff) | |
download | linux-39d48bb0607f1c8ac4c57ddba534a402f4fc91e7.tar.xz linux-39d48bb0607f1c8ac4c57ddba534a402f4fc91e7.zip |
staging: rts5139: rts51x_card: fixed brace coding style issue
Fixed a coding style issue.
Signed-off-by: Erik Jones <erik@ejnode.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rts5139/rts51x_card.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/rts5139/rts51x_card.c b/drivers/staging/rts5139/rts51x_card.c index 4192c3bac12f..a3cb55912875 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) { |