Skip to content

Commit

Permalink
mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ulf Hansson authored and Chris Ball committed Feb 14, 2014
1 parent b28a960 commit 4e262d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/mmc/host/sh_mobile_sdhi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 4e262d7

Please sign in to comment.