diff options
| author | Paul Cercueil <[email protected]> | 2021-12-07 00:21:02 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-12-17 18:20:58 +0000 |
| commit | 2cdbd92c2d1dff07ad56c39f5857ee644bbd2c8a (patch) | |
| tree | 34d906022c159960d15feaf2d147df11aaf229f4 /drivers/acpi/cppc_acpi.c | |
| parent | mmc: jz4740: Use the new PM macros (diff) | |
| download | kernel-2cdbd92c2d1dff07ad56c39f5857ee644bbd2c8a.tar.gz kernel-2cdbd92c2d1dff07ad56c39f5857ee644bbd2c8a.zip | |
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 <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
