提交 65d13516 编写于 作者: W Wonil Choi 提交者: Chris Ball

mmc: sdhci-s3c: Fix return value in sdhci_s3c_suspend/resume()

Signed-off-by: NWonil Choi <wonil22.choi@samsung.com>
Signed-off-by: NMinho Ban <mhban@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 58d1246d
...@@ -612,16 +612,14 @@ static int sdhci_s3c_suspend(struct platform_device *dev, pm_message_t pm) ...@@ -612,16 +612,14 @@ static int sdhci_s3c_suspend(struct platform_device *dev, pm_message_t pm)
{ {
struct sdhci_host *host = platform_get_drvdata(dev); struct sdhci_host *host = platform_get_drvdata(dev);
sdhci_suspend_host(host, pm); return sdhci_suspend_host(host, pm);
return 0;
} }
static int sdhci_s3c_resume(struct platform_device *dev) static int sdhci_s3c_resume(struct platform_device *dev)
{ {
struct sdhci_host *host = platform_get_drvdata(dev); struct sdhci_host *host = platform_get_drvdata(dev);
sdhci_resume_host(host); return sdhci_resume_host(host);
return 0;
} }
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册