Skip to content

Commit edff54a

Browse files
Uwe Kleine-Königbroonie
authored andcommitted
regulator: rtq2208: Switch back to use struct i2c_driver's .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 <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230814210759.26395-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent c418920 commit edff54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/rtq2208-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ static struct i2c_driver rtq2208_driver = {
574574
.name = "rtq2208",
575575
.of_match_table = rtq2208_device_tables,
576576
},
577-
.probe_new = rtq2208_probe,
577+
.probe = rtq2208_probe,
578578
};
579579
module_i2c_driver(rtq2208_driver);
580580

0 commit comments

Comments
 (0)