Commit a6b6790c authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Lee Jones
Browse files

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: default avatarUwe 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: default avatarLee Jones <lee@kernel.org>
parent 7c8cb341
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@ static struct i2c_driver max77541_driver = {
		.name = "max77541",
		.of_match_table = max77541_of_id,
	},
	.probe_new = max77541_probe,
	.probe = max77541_probe,
	.id_table = max77541_id,
};
module_i2c_driver(max77541_driver);
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ static struct i2c_driver tps6594_i2c_driver = {
		.name = "tps6594",
		.of_match_table = tps6594_i2c_of_match_table,
	},
	.probe_new = tps6594_i2c_probe,
	.probe = tps6594_i2c_probe,
};
module_i2c_driver(tps6594_i2c_driver);