diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-10-23 08:51:31 -0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-02-13 22:57:29 -0500 |
commit | 4e262d7f6fd43d798175cf26223c5bd3ebfd7b13 (patch) | |
tree | e8136cd67fbb2f155106e9961576c1c8aaf34a3a | |
parent | b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed (diff) |
mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks
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>
-rw-r--r-- | drivers/mmc/host/sh_mobile_sdhi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 2d6ce257a273..03fe7518bba4 100644 --- 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) | |||
316 | } | 316 | } |
317 | 317 | ||
318 | static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { | 318 | static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { |
319 | .suspend = tmio_mmc_host_suspend, | 319 | SET_SYSTEM_SLEEP_PM_OPS(tmio_mmc_host_suspend, tmio_mmc_host_resume) |
320 | .resume = tmio_mmc_host_resume, | 320 | SET_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend, |
321 | .runtime_suspend = tmio_mmc_host_runtime_suspend, | 321 | tmio_mmc_host_runtime_resume, |
322 | .runtime_resume = tmio_mmc_host_runtime_resume, | 322 | NULL) |
323 | }; | 323 | }; |
324 | 324 | ||
325 | static struct platform_driver sh_mobile_sdhi_driver = { | 325 | static struct platform_driver sh_mobile_sdhi_driver = { |