mmc: mxc: Use the new PM macros
authorPaul Cercueil <paul@crapouillou.net>
Tue, 7 Dec 2021 00:21:02 +0000 (00:21 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Dec 2021 18:20:58 +0000 (19:20 +0100)
commit2cdbd92c2d1dff07ad56c39f5857ee644bbd2c8a
tree34d906022c159960d15feaf2d147df11aaf229f4
parente0d64ecc621715e9c7807e952b68475c62bbf630
mmc: mxc: Use the new PM macros

Use DEFINE_SIMPLE_DEV_PM_OPS() instead of the SIMPLE_DEV_PM_OPS()
macro, along with using pm_sleep_ptr() as this driver doesn't handle
runtime PM.

This makes it possible to remove the #ifdef CONFIG_PM guard around
the suspend/resume functions.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/mmc/host/mxcmmc.c