Re: [PATCH 1/2] pinctrl: ingenic: convert to subsys_platform_driver_probe()

From: Brian Masney

Date: Mon Nov 09 2026 - 13:04:11 EST


Hi Andy,

On Sat, Nov 07, 2026 at 03:58:23PM +0200, Andy Shevchenko wrote:
> On Sat, Nov 7, 2026 at 2:27 AM Brian Masney <bmasney@xxxxxxxxxx> wrote:
> >
> > Reduce boilerplate code in this driver and convert it over to use the
> > macro subsys_platform_driver_probe().
>
> Wasn't there already a set of patches from somebody for the same reason?

I just searched the linux-gpio archives and I see the effort back in
June to also add subsys_platform_driver(). I wasn't aware of that
effort, and it was never unfortunately merged into the driver core.

I got the macros added in 7.4-rc1, and I posted patches across the tree
to use the new macros.

Brian