summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-exynos.c
diff options
context:
space:
mode:
authorAnand Moon <linux.amoon@gmail.com>2024-04-12 19:52:51 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-18 16:48:23 +0200
commit3f26e2b07affab62d76deef1e62acd06ec25e528 (patch)
tree234c1741d183667b6f5752ca8ea33c3715e7ebc7 /drivers/usb/host/ohci-exynos.c
parent1ac579a4bfed5209f39eb75e98566925e4efcec1 (diff)
downloadlinux-stable-3f26e2b07affab62d76deef1e62acd06ec25e528.tar.gz
linux-stable-3f26e2b07affab62d76deef1e62acd06ec25e528.tar.bz2
linux-stable-3f26e2b07affab62d76deef1e62acd06ec25e528.zip
usb: ehci-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_ptr() to discard all PM related stuff if CONFIG_PM isn't enabled. Signed-off-by: Anand Moon <linux.amoon@gmail.com> Link: https://lore.kernel.org/r/20240412142317.5191-3-linux.amoon@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-exynos.c')
0 files changed, 0 insertions, 0 deletions