diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-25 13:59:20 +0200 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 13:26:34 +0200 |
commit | 13e645012dff774895906058163ae244f47b9b81 (patch) | |
tree | 44996e99682ddcca605261ee10ec1cf40c695699 /drivers/mmc/host/sdhci.h | |
parent | mmc: sdhci-esdhc-imx: fix lockdep splat upon tuning (diff) | |
download | linux-13e645012dff774895906058163ae244f47b9b81.tar.xz linux-13e645012dff774895906058163ae244f47b9b81.zip |
mmc: sdhci: set_uhs_signaling() need not return a value
The set_uhs_signaling() method gives the impression that it can fail,
but anything returned from the method is entirely ignored by the sdhci
driver. So returning failure has no effect.
So, kill the idea that it's possible for this to return an error by
removing the returned value.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index ac20195f667b..3179a8053019 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -287,7 +287,7 @@ struct sdhci_ops { unsigned int (*get_ro)(struct sdhci_host *host); void (*reset)(struct sdhci_host *host, u8 mask); int (*platform_execute_tuning)(struct sdhci_host *host, u32 opcode); - int (*set_uhs_signaling)(struct sdhci_host *host, unsigned int uhs); + void (*set_uhs_signaling)(struct sdhci_host *host, unsigned int uhs); void (*hw_reset)(struct sdhci_host *host); void (*platform_suspend)(struct sdhci_host *host); void (*platform_resume)(struct sdhci_host *host); |