Johan Hovold
163f649423
ata: pata_parport: switch to dynamic root device
...
Driver core expects devices to be dynamically allocated and will, for
example, complain loudly when no release function has been provided.
Use root_device_register() to allocate and register the root device
instead of open coding using a static device.
Note that this also fixes a reference leak in the unlikely event that
device_register() ever fails.
Signed-off-by: Johan Hovold <johan@kernel.org >
Reviewed-by: Damien Le Moal <dlemoal@kernel.org >
Signed-off-by: Niklas Cassel <cassel@kernel.org >
2026-04-27 11:38:16 +02:00
..
2026-04-27 11:38:16 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2026-02-24 15:29:57 +01:00
2026-01-08 17:43:00 +09:00
2025-07-16 09:31:43 +02:00
2026-01-08 17:43:04 +09:00
2026-04-07 09:36:46 +02:00
2026-03-31 10:29:35 +02:00
2025-07-31 12:56:21 +09:00
2026-02-24 15:29:57 +01:00
2026-03-31 10:29:35 +02:00
2025-07-31 12:56:21 +09:00
2026-02-21 17:09:51 -08:00
2026-04-02 20:51:00 +02:00
2026-04-02 20:18:29 +02:00
2026-02-21 01:02:28 -08:00
2026-02-24 09:40:58 +09:00
2026-04-12 19:57:59 +02:00
2025-11-07 09:42:36 +01:00
2026-04-02 21:01:10 +02:00
2026-04-02 21:01:10 +02:00
2026-02-21 17:09:51 -08:00
2026-02-12 17:12:43 -08:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2026-04-03 09:16:00 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-06-10 14:26:27 +02:00
2026-02-02 13:47:40 +09:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2026-02-04 12:23:23 +01:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-10-23 14:23:40 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2026-02-02 13:47:37 +09:00
2025-08-01 08:43:08 +09:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-11-18 21:58:41 +01:00
2025-08-01 08:43:11 +09:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-04 10:36:00 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00
2025-07-16 09:31:43 +02:00