Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e262d7f authored by Ulf Hansson's avatar Ulf Hansson Committed by Chris Ball
Browse files

mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks

parent b28a960c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 = {