Re: [PATCH] spi: Convert to subsys_platform_driver()
From: Andy Shevchenko
Date: Wed Nov 04 2026 - 07:06:12 EST
On Wed, Nov 04, 2026 at 07:34:05PM +0800, Peng Fan (OSS) wrote:
> Replace the open-coded subsys_initcall()/module_exit() platform driver
> registration with subsys_platform_driver().
>
> The pxa2xx platform driver is renamed from "driver" to
> "pxa2xx_spi_driver" because subsys_platform_driver() generates
> "<name>_init", which would otherwise conflict with the core
> driver_init() declaration.
>
> No functional change.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> # pxa2xx
--
With Best Regards,
Andy Shevchenko