Re: [PATCH] regulator: convert to subsys_platform_driver()
From: Brian Masney
Date: Mon Nov 09 2026 - 16:21:13 EST
Hi Mark,
On Mon, Nov 09, 2026 at 07:14:12PM +0000, Mark Brown wrote:
> On Fri, Nov 06, 2026 at 07:28:46PM -0500, Brian Masney wrote:
> > Reduce boilerplate code in these drivers and convert them over to use
> > the macro subsys_platform_driver().
>
> This doesn't apply against current code, please check and resend.
I see that Peng already posted a conversion for regulator. Based on
what's in next-20261109, it looks like there's 4 more drivers that can
be converted based on what I have in my patch.
drivers/regulator/qcom_rpm-regulator.c
drivers/regulator/qcom_smd-regulator.c
drivers/regulator/twl-regulator.c
drivers/regulator/twl6030-regulator.c
I'll post a v2 with just these 4 drivers.
Brian