Skip to content

Commit 21cc7f8

Browse files
Uwe Kleine-Königbroonie
authored andcommitted
regulator: aw37503: 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/20230824195617.8888-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org
1 parent ed7c6a2 commit 21cc7f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/aw37503-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static struct i2c_driver aw37503_i2c_driver = {
229229
.name = "aw37503",
230230
.of_match_table = aw37503_of_match,
231231
},
232-
.probe_new = aw37503_probe,
232+
.probe = aw37503_probe,
233233
.id_table = aw37503_id,
234234
};
235235

0 commit comments

Comments
 (0)