[PATCH 00/20] usb: Use new pm_ptr() macro
Paul Cercueil
paul at crapouillou.net
Thu Sep 3 21:25:34 AEST 2020
The pm_ptr() macro was introduced to avoid conditional compilation of
the PM code. Instead of having the .suspend/.resume functions compiled
conditionally if CONFIG_PM_SLEEP, they are now always visible by the
compiler, which can then detect bugs, and will be discarded if unused.
Cheers,
-Paul
Paul Cercueil (20):
usb/host: ohci-platform: Use pm_ptr() macro
usb/host: ehci-spear: Use pm_ptr() macro
usb/host: ehci-npcm7xx: Use pm_ptr() macro
usb/host: ehci-platform: Use pm_ptr() macro
usb/cdns3: core: Use pm_ptr() macro
usb/chipidea: core: Use pm_ptr() macro
usb/misc: usb3503: Use pm_ptr() macro
usb/misc: usb4604: Use pm_ptr() macro
usb/musb: am35x: Use pm_ptr() macro
usb/musb: da8xx: Use pm_ptr() macro
usb/musb: musb_dsps: Use pm_ptr() macro
usb/musb: ux500: Use pm_ptr() macro
usb/phy: am335x: Use pm_ptr() macro
usb/phy: mxs-usb: Use pm_ptr() macro
usb/gadget/udc: atmel: Use pm_ptr() macro
usb/gadget/udc: bdc: Use pm_ptr() macro
usb/gadget/udc: mv-u3d: Use pm_ptr() macro
usb/gadget/udc: pch: Use pm_ptr() macro
usb/gadget/udc: renesas: Use pm_ptr() macro
usb/gadget/udc: snps: Use pm_ptr() macro
drivers/usb/cdns3/core.c | 13 ++++---------
drivers/usb/chipidea/core.c | 26 +++++++++++--------------
drivers/usb/gadget/udc/atmel_usba_udc.c | 8 +++-----
drivers/usb/gadget/udc/bdc/bdc_core.c | 9 +++------
drivers/usb/gadget/udc/mv_u3d_core.c | 8 +++-----
drivers/usb/gadget/udc/pch_udc.c | 11 +++--------
drivers/usb/gadget/udc/renesas_usb3.c | 8 +++-----
drivers/usb/gadget/udc/snps_udc_plat.c | 16 +++++----------
drivers/usb/host/ehci-npcm7xx.c | 8 +++-----
drivers/usb/host/ehci-platform.c | 8 +++-----
drivers/usb/host/ehci-spear.c | 8 +++-----
drivers/usb/host/ohci-platform.c | 19 ++++++++----------
drivers/usb/misc/usb3503.c | 18 ++++++++---------
drivers/usb/misc/usb4604.c | 8 +++-----
drivers/usb/musb/am35x.c | 8 +++-----
drivers/usb/musb/da8xx.c | 8 +++-----
drivers/usb/musb/musb_dsps.c | 20 +++++++------------
drivers/usb/musb/ux500.c | 8 +++-----
drivers/usb/phy/phy-am335x.c | 8 +++-----
drivers/usb/phy/phy-mxs-usb.c | 11 +++++------
20 files changed, 87 insertions(+), 144 deletions(-)
--
2.28.0
More information about the openbmc
mailing list