diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-06-26 11:19:41 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-06-26 16:38:30 +0100 |
commit | a6b6790c020a01cc3e9353059d98bbe60c2fd105 (patch) | |
tree | 4bf4a4f70b1bb2d0ac6cf32b419604b7571802b1 /drivers/mfd/max77541.c | |
parent | 7c8cb341fd6667bf2a3dc19c801500af2c92f3f0 (diff) |
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>
Diffstat (limited to 'drivers/mfd/max77541.c')
-rw-r--r-- | drivers/mfd/max77541.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max77541.c b/drivers/mfd/max77541.c index 4a3bad3493b3..e147e949c2b3 100644 --- a/drivers/mfd/max77541.c +++ b/drivers/mfd/max77541.c @@ -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); |