projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28a960
)
mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks
author
Ulf Hansson
<ulf.hansson@linaro.org>
Wed, 23 Oct 2013 12:51:31 +0000
(14:51 +0200)
committer
Chris Ball
<chris@printf.net>
Fri, 14 Feb 2014 03:57:29 +0000
(22:57 -0500)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sh_mobile_sdhi.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sh_mobile_sdhi.c
b/drivers/mmc/host/sh_mobile_sdhi.c
index
2d6ce25
..
03fe751
100644
(file)
--- a/
drivers/mmc/host/sh_mobile_sdhi.c
+++ b/
drivers/mmc/host/sh_mobile_sdhi.c
@@
-316,10
+316,10
@@
static int sh_mobile_sdhi_remove(struct platform_device *pdev)
}
static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
- .suspend = tmio_mmc_host_suspend,
-
.resume = tmio_mmc_host_resume
,
-
.runtime_suspend = tmio_mmc_host_runtime_suspend
,
- .runtime_resume = tmio_mmc_host_runtime_resume,
+ SET_SYSTEM_SLEEP_PM_OPS(tmio_mmc_host_suspend, tmio_mmc_host_resume)
+
SET_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend
,
+
tmio_mmc_host_runtime_resume
,
+ NULL)
};
static struct platform_driver sh_mobile_sdhi_driver = {