diff options
author | Anand Moon <linux.amoon@gmail.com> | 2024-04-12 16:22:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-18 16:48:23 +0200 |
commit | 684e9f5f97eb4b7831298ffad140d5c1d426ff27 (patch) | |
tree | ad63a8fb682708d2a51006e16b09443f181214ec /sound/soc/soc-acpi.c | |
parent | usb: ohci-exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions (diff) | |
download | linux-684e9f5f97eb4b7831298ffad140d5c1d426ff27.tar.xz linux-684e9f5f97eb4b7831298ffad140d5c1d426ff27.zip |
usb: dwc3: exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
This macro has the advantage over SIMPLE_DEV_PM_OPS that we don't have to
care about when the functions are actually used.
Also make use of pm_sleep_ptr() to discard all PM_SLEEP related
stuff if CONFIG_PM_SLEEP isn't enabled.
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20240412142317.5191-6-linux.amoon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/soc-acpi.c')
0 files changed, 0 insertions, 0 deletions