diff options
author | Wonil Choi <wonil22.choi@samsung.com> | 2011-06-28 22:38:38 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-20 17:21:04 -0400 |
commit | 65d13516b2358c38ac56a5f83e989a6837dcf825 (patch) | |
tree | 3e7d164aa2cb99ad8c675317c19bee03b09eab90 /drivers/mmc/host/sdhci-s3c.c | |
parent | 58d1246db340793c408b22884598e4ce4d1d4aba (diff) |
mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume()
Signed-off-by: Wonil Choi <wonil22.choi@samsung.com>
Signed-off-by: Minho Ban <mhban@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-s3c.c')
-rw-r--r-- | drivers/mmc/host/sdhci-s3c.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index 69e3ee321eb5..460ffaf0f6d7 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c | |||
@@ -612,16 +612,14 @@ static int sdhci_s3c_suspend(struct platform_device *dev, pm_message_t pm) | |||
612 | { | 612 | { |
613 | struct sdhci_host *host = platform_get_drvdata(dev); | 613 | struct sdhci_host *host = platform_get_drvdata(dev); |
614 | 614 | ||
615 | sdhci_suspend_host(host, pm); | 615 | return sdhci_suspend_host(host, pm); |
616 | return 0; | ||
617 | } | 616 | } |
618 | 617 | ||
619 | static int sdhci_s3c_resume(struct platform_device *dev) | 618 | static int sdhci_s3c_resume(struct platform_device *dev) |
620 | { | 619 | { |
621 | struct sdhci_host *host = platform_get_drvdata(dev); | 620 | struct sdhci_host *host = platform_get_drvdata(dev); |
622 | 621 | ||
623 | sdhci_resume_host(host); | 622 | return sdhci_resume_host(host); |
624 | return 0; | ||
625 | } | 623 | } |
626 | 624 | ||
627 | #else | 625 | #else |