lkml.org 
[lkml]   [2020]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/20] usb: Use new pm_ptr() macro
Date
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

\
 
 \ /
  Last update: 2020-09-03 13:28    [W:0.108 / U:2.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site