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>
This commit is contained in:
Uwe Kleine-König 2023-06-26 11:19:41 +02:00 committed by Lee Jones
parent 7c8cb341fd
commit a6b6790c02
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ static struct i2c_driver max77541_driver = {
.name = "max77541", .name = "max77541",
.of_match_table = max77541_of_id, .of_match_table = max77541_of_id,
}, },
.probe_new = max77541_probe, .probe = max77541_probe,
.id_table = max77541_id, .id_table = max77541_id,
}; };
module_i2c_driver(max77541_driver); module_i2c_driver(max77541_driver);

View File

@ -235,7 +235,7 @@ static struct i2c_driver tps6594_i2c_driver = {
.name = "tps6594", .name = "tps6594",
.of_match_table = tps6594_i2c_of_match_table, .of_match_table = tps6594_i2c_of_match_table,
}, },
.probe_new = tps6594_i2c_probe, .probe = tps6594_i2c_probe,
}; };
module_i2c_driver(tps6594_i2c_driver); module_i2c_driver(tps6594_i2c_driver);