[PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sat Feb 11 23:05:45 UTC 2023


Hello Lee,

On Mon, Jan 30, 2023 at 09:42:01AM +0000, Lee Jones wrote:
> On Fri, 27 Jan 2023, Uwe Kleine-König wrote:
> 
> > 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 at pengutronix.de>
> > ---
> > Hello,
> > 
> > there is an ongoing effort to convert all drivers to .probe_new to
> > eventually drop .probe with the i2c_device_id parameter. This driver
> > currently sits in next so wasn't on my radar before.
> > 
> > My plan is to tackle that after the next merge window. So I ask you to
> > either apply this patch during the next merge window or accept that it
> > will go in via the i2c tree together with the patch that drops .probe().
> > 
> >  drivers/video/backlight/ktz8866.c | 5 ++---
> >  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> Applied, thanks

Thanks, this patch didn't make it into next yet though. Is there a
problem other than pending tests before you publish it in your tree that
gets pulled into next?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20230212/84788355/attachment.sig>


More information about the dri-devel mailing list