Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Uwe Kleine-König <> | Subject | [PATCH] regulator: raa215300: Switch back to use struct i2c_driver::probe | Date | Mon, 26 Jun 2023 11:15:44 +0200 |
| |
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 <u.kleine-koenig@pengutronix.de> --- drivers/regulator/raa215300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/raa215300.c b/drivers/regulator/raa215300.c index 24a1c89f5dbc..ed93468d408f 100644 --- a/drivers/regulator/raa215300.c +++ b/drivers/regulator/raa215300.c @@ -180,7 +180,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); base-commit: 7bce16630837c705f72e8fd53a11ae8c236236f4 -- 2.39.2
| ![\](/images/icornerr.gif) |