aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdnsp-debug.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-10-17 22:44:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-21 12:47:24 +0200
commitff8e4630fa3c1f8775f162ceaf52ba8b656927de (patch)
treef1dd5806b40fd5aa88a9bc6751a9059c014018f2 /drivers/usb/cdns3/cdnsp-debug.h
parent017e452e582496a124de87d99c0cece106be6c3c (diff)
usb: gadget: lpc32xx-udc: Convert to use module_platform_driver()
module_platform_driver_probe() has the advantage that the .probe() and .remove() calls can live in .init.text and .exit.text respectively and so some memory is saved. The downside is that dynamic bind and unbind are impossible. As the driver doesn't benefit from the advantages (both .probe and .remove are defined in plain .text), stop suffering from the downsides and use module_platform_driver() instead of module_platform_driver_probe(). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20231017204442.1625925-12-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions