[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200903112554.34263-1-paul@crapouillou.net>
Date: Thu, 3 Sep 2020 13:25:34 +0200
From: Paul Cercueil <paul@...pouillou.net>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Peter Chen <Peter.Chen@....com>,
Cristian Birsan <cristian.birsan@...rochip.com>,
Felipe Balbi <balbi@...nel.org>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Ludovic Desroches <ludovic.desroches@...rochip.com>,
Avi Fishman <avifishman70@...il.com>,
Tomer Maimon <tmaimon77@...il.com>,
Tali Perry <tali.perry1@...il.com>,
Patrick Venture <venture@...gle.com>,
Nancy Yuen <yuenn@...gle.com>,
Benjamin Fair <benjaminfair@...gle.com>,
Alan Stern <stern@...land.harvard.edu>,
Tony Prisk <linux@...sktech.co.nz>, Bin Liu <b-liu@...com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, openbmc@...ts.ozlabs.org,
Paul Cercueil <paul@...pouillou.net>
Subject: [PATCH 00/20] usb: Use new pm_ptr() macro
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
Powered by blists - more mailing lists