From: Uwe Kleine-König Date: Mon, 26 Jun 2023 09:15:44 +0000 (+0200) Subject: regulator: raa215300: Switch back to use struct i2c_driver::probe X-Git-Tag: v6.6.7~1951^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=741da3f60479acc0de3d79501c4819e49fa28639;p=platform%2Fkernel%2Flinux-starfive.git regulator: raa215300: 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/20230626091544.557403-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/raa215300.c b/drivers/regulator/raa215300.c index 8e1a4c8..848a03a 100644 --- a/drivers/regulator/raa215300.c +++ b/drivers/regulator/raa215300.c @@ -182,7 +182,7 @@ static struct i2c_driver raa215300_i2c_driver = { .name = "raa215300", .of_match_table = raa215300_dt_match, }, - .probe_new = raa215300_i2c_probe, + .probe = raa215300_i2c_probe, }; module_i2c_driver(raa215300_i2c_driver);