[PATCH] gpio: Convert to subsys_platform_driver()

Charles Keepax ckeepax at opensource.cirrus.com
Wed Nov 4 03:48:32 PST 2026


On Wed, Nov 04, 2026 at 07:33:09PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> Replace the open-coded subsys_initcall()/module_exit() platform driver
> registration with subsys_platform_driver().
> 
> No functional change.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>  drivers/gpio/gpio-wm831x.c    | 13 +------------
>  drivers/gpio/gpio-wm8350.c    | 13 +------------
>  drivers/gpio/gpio-wm8994.c    | 13 +------------

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles



More information about the linux-arm-kernel mailing list