diff options
author | Anand Moon <linux.amoon@gmail.com> | 2024-04-12 19:52:54 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-18 16:48:23 +0200 |
commit | 684e9f5f97eb4b7831298ffad140d5c1d426ff27 (patch) | |
tree | ad63a8fb682708d2a51006e16b09443f181214ec /drivers/clk/sunxi-ng | |
parent | a6a243b6ed3c53dbe2a4eadae098c3c532b98b6b (diff) |
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 'drivers/clk/sunxi-ng')
0 files changed, 0 insertions, 0 deletions