From: Ludovic Desroches Date: Fri, 12 Dec 2014 23:44:11 +0000 (+0100) Subject: mmc: atmel-mci: use SET_RUNTIME_PM_OPS() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c3cb6ba415169d66ed29521d249742e667c80697;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mmc: atmel-mci: use SET_RUNTIME_PM_OPS() macro The currently used SET_PM_RUNTIME_PM_OPS() macro is defined to the SET_RUNTIME_PM_OPS() macro. Convert to the later, since that's the proper one to use. Signed-off-by: Ludovic Desroches Signed-off-by: Ulf Hansson Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 62aba9af19f4..03d7c7521d97 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c @@ -2561,7 +2561,7 @@ static int atmci_runtime_resume(struct device *dev) static const struct dev_pm_ops atmci_dev_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) - SET_PM_RUNTIME_PM_OPS(atmci_runtime_suspend, atmci_runtime_resume, NULL) + SET_RUNTIME_PM_OPS(atmci_runtime_suspend, atmci_runtime_resume, NULL) }; static struct platform_driver atmci_driver = {