diff options
author | 2021-12-07 00:21:01 +0000 | |
---|---|---|
committer | 2021-12-17 19:19:43 +0100 | |
commit | e0d64ecc621715e9c7807e952b68475c62bbf630 (patch) | |
tree | 92edf2fac05b23a7f66a22cb01d491c53a033062 /scripts/gdb/linux/utils.py | |
parent | PM: runtime: Add safety net to supplier device release (diff) | |
download | wireguard-linux-e0d64ecc621715e9c7807e952b68475c62bbf630.tar.xz wireguard-linux-e0d64ecc621715e9c7807e952b68475c62bbf630.zip |
mmc: jz4740: Use the new PM macros
- Use DEFINE_SIMPLE_DEV_PM_OPS() instead of the SIMPLE_DEV_PM_OPS()
macro. This makes it possible to remove the __maybe_unused flags
on the callback functions.
- Since we only have callbacks for suspend/resume, we can conditionally
compile the dev_pm_ops structure for when CONFIG_PM_SLEEP is enabled;
so use the pm_sleep_ptr() macro instead of pm_ptr().
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions