Uwe Kleine-König 0b2771dd52 ata: pata_gayle: Stop using module_platform_driver_probe()
On today's platforms the benefit of platform_driver_probe() isn't that
relevant any more. It allows to drop some code after booting (or module
loading) for .probe() and discard the .remove() function completely if
the driver is built-in. This typically saves a few 100k.

The downside of platform_driver_probe() is that the driver cannot be
bound and unbound at runtime which is ancient and so slightly
complicates testing. There are also thoughts to deprecate
platform_driver_probe() because it adds some complexity in the driver
core for little gain. Also many drivers don't use it correctly. This
driver for example misses to mark the driver struct with __ref which is
needed to suppress a (W=1) modpost warning.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
2023-11-08 09:00:37 +09:00
..
2023-11-04 16:20:36 -10:00
2023-11-02 14:05:18 -10:00
2023-11-03 15:15:47 -10:00
2023-11-01 14:46:51 -10:00
2023-11-01 14:46:51 -10:00
2023-11-01 09:34:55 -10:00
2023-11-01 15:28:33 -10:00
2023-11-03 18:56:51 -10:00
2023-10-30 19:09:55 -10:00
2023-11-03 15:44:25 -10:00
2023-11-03 16:00:42 -10:00
2023-11-04 10:42:07 -10:00
2023-10-31 18:32:51 -10:00
2023-11-03 15:44:25 -10:00
2023-10-31 17:44:17 -10:00
2023-11-04 16:25:36 -10:00
2023-11-02 15:20:30 -10:00
2023-11-01 15:28:33 -10:00
2023-11-01 16:44:56 -10:00
2023-11-01 09:34:55 -10:00
2023-10-30 19:09:55 -10:00
2023-11-02 14:53:19 -10:00
2023-11-03 10:07:39 -10:00
2023-11-05 18:45:32 -08:00
2023-11-06 15:06:06 -08:00
2023-11-02 14:40:51 -10:00
2023-10-27 12:00:35 +02:00
2023-11-01 12:30:07 -10:00
2023-10-31 18:50:13 -10:00
2023-11-04 16:20:36 -10:00
2023-11-01 20:51:41 -10:00
2023-11-03 19:06:12 -10:00
2023-11-01 14:46:51 -10:00
2023-11-03 16:00:42 -10:00
2023-10-30 13:14:27 +00:00
2023-11-05 18:49:40 -08:00
2023-10-25 16:50:11 +02:00
2023-11-03 10:07:39 -10:00
2023-11-03 19:10:41 -10:00
2023-11-03 16:00:42 -10:00
2023-11-06 15:06:06 -08:00
2023-11-02 15:13:50 -10:00
2023-11-03 15:44:25 -10:00
2023-11-02 15:13:50 -10:00
2023-11-03 16:00:42 -10:00
2023-11-03 15:44:25 -10:00
2023-11-04 15:58:13 -10:00