diff options
author | Pierre Ossman <pierre@ossman.eu> | 2009-06-21 20:59:33 +0200 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-06-21 21:01:00 +0200 |
commit | 11a2f1b78a43d0c2bd026d79b952742c7588f529 (patch) | |
tree | c796b021962c79d544aaf88d96aa95d871ae0df1 /drivers/mmc | |
parent | 557b06971b1f05cbadec2f376a305ee1954e9b0d (diff) | |
download | kernel_samsung_crespo-11a2f1b78a43d0c2bd026d79b952742c7588f529.zip kernel_samsung_crespo-11a2f1b78a43d0c2bd026d79b952742c7588f529.tar.gz kernel_samsung_crespo-11a2f1b78a43d0c2bd026d79b952742c7588f529.tar.bz2 |
sdhci: remove needless double parenthesis
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index f4066fd..6779b4e 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -584,7 +584,7 @@ static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_data *data) * longer to time out, but that's much better than having a too-short * timeout value. */ - if ((host->quirks & SDHCI_QUIRK_BROKEN_TIMEOUT_VAL)) + if (host->quirks & SDHCI_QUIRK_BROKEN_TIMEOUT_VAL) return 0xE; /* timeout in us */ @@ -1051,7 +1051,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power) * At least the Marvell CaFe chip gets confused if we set the voltage * and set turn on power at the same time, so set the voltage first. */ - if ((host->quirks & SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER)) + if (host->quirks & SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER) sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL); pwr |= SDHCI_POWER_ON; @@ -1062,7 +1062,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power) * Some controllers need an extra 10ms delay of 10ms before they * can apply clock after applying power */ - if ((host->quirks & SDHCI_QUIRK_DELAY_AFTER_POWER)) + if (host->quirks & SDHCI_QUIRK_DELAY_AFTER_POWER) mdelay(10); } |