From: Uwe Kleine-König Date: Mon, 26 Jun 2023 09:02:54 +0000 (+0200) Subject: leds: aw200xx: Switch back to use struct i2c_driver::probe X-Git-Tag: v6.6.17~3998^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07a476e04f3479b4c5e2e027859b496a48836028;p=platform%2Fkernel%2Flinux-rpi.git leds: aw200xx: Switch back to use struct i2c_driver::probe struct i2c_driver::probe_new is about to go away. Switch the driver to use the probe callback with the same prototype. Signed-off-by: Uwe Kleine-König Link: https://lore.kernel.org/r/20230626090254.556206-1-u.kleine-koenig@pengutronix.de Signed-off-by: Lee Jones --- diff --git a/drivers/leds/leds-aw200xx.c b/drivers/leds/leds-aw200xx.c index 7b996bc..691a743 100644 --- a/drivers/leds/leds-aw200xx.c +++ b/drivers/leds/leds-aw200xx.c @@ -583,7 +583,7 @@ static struct i2c_driver aw200xx_driver = { .name = "aw200xx", .of_match_table = aw200xx_match_table, }, - .probe_new = aw200xx_probe, + .probe = aw200xx_probe, .remove = aw200xx_remove, .id_table = aw200xx_id, };