Commit 2cdbd92
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>1 parent e0d64ec commit 2cdbd92
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1183 | 1183 | | |
1184 | 1184 | | |
1185 | 1185 | | |
1186 | | - | |
1187 | 1186 | | |
1188 | 1187 | | |
1189 | 1188 | | |
| |||
1210 | 1209 | | |
1211 | 1210 | | |
1212 | 1211 | | |
1213 | | - | |
1214 | 1212 | | |
1215 | | - | |
| 1213 | + | |
1216 | 1214 | | |
1217 | 1215 | | |
1218 | 1216 | | |
1219 | 1217 | | |
1220 | 1218 | | |
1221 | 1219 | | |
1222 | 1220 | | |
1223 | | - | |
| 1221 | + | |
1224 | 1222 | | |
1225 | 1223 | | |
1226 | 1224 | | |
| |||
0 commit comments