Re: [PATCH 431/606] mfd: khadas-mcu: Convert to i2c's .probe_new()
From: Lee Jones
Date: Mon Nov 21 2022 - 11:51:32 EST
On Mon, 21 Nov 2022, Uwe Kleine-König wrote:
> Hello Lee,
>
> On Mon, Nov 21, 2022 at 12:32:10PM +0000, Lee Jones wrote:
> > On Fri, 18 Nov 2022, Uwe Kleine-König wrote:
> >
> > > From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > >
> > > The probe function doesn't make use of the i2c_device_id * parameter so it
> > > can be trivially converted.
> > >
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > > ---
> > > drivers/mfd/khadas-mcu.c | 5 ++---
> > > 1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > After a week or so, please collect-up all the tags you have received
> > and submit a per-subsystem set for me to hoover up, thanks.
>
> For mfd I'd do:
>
> git checkout mfd/for-next
> b4 am -P 413-481 20221118224540.619276-1-uwe@xxxxxxxxxxxxxxxxx
> git am ./20221118_uwe_i2c_complete_conversion_to_i2c_probe_new.mbx
> git send-email --to .... --cc .... mfd/for-next
That's just crazy enough to work.
Thanks for the tip.
> to accomplish that. I can do that, but feel free to do it yourself at a
> moment that suits you (of course without the send-email part and maybe
> adding -l and -s to b4 am).
>
> For backlight the patch range is 585-593.
>
> Cheers,
> Uwe
>
--
Lee Jones [李琼斯]