Uwe Kleine-König b4822e2317 usb: gadget: m66592-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-13-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-21 12:47:24 +02:00
..
2023-08-14 22:22:31 +02:00
2023-10-10 08:55:23 +02:00
2023-10-16 17:36:12 +02:00
2023-10-16 17:36:12 +02:00
2023-10-16 17:36:12 +02:00
2023-03-21 14:06:11 +01:00