Skip to content

Commit a6b6790

Browse files
Uwe Kleine-Königlag-linaro
authored andcommitted
mfd: Switch two more drivers 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 <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230626091941.557733-1-u.kleine-koenig@pengutronix.de Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 7c8cb34 commit a6b6790

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/mfd/max77541.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ static struct i2c_driver max77541_driver = {
214214
.name = "max77541",
215215
.of_match_table = max77541_of_id,
216216
},
217-
.probe_new = max77541_probe,
217+
.probe = max77541_probe,
218218
.id_table = max77541_id,
219219
};
220220
module_i2c_driver(max77541_driver);

drivers/mfd/tps6594-i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static struct i2c_driver tps6594_i2c_driver = {
235235
.name = "tps6594",
236236
.of_match_table = tps6594_i2c_of_match_table,
237237
},
238-
.probe_new = tps6594_i2c_probe,
238+
.probe = tps6594_i2c_probe,
239239
};
240240
module_i2c_driver(tps6594_i2c_driver);
241241

0 commit comments

Comments
 (0)