Skip to content

Commit 9f7b17c

Browse files
Uwe Kleine-Königgregkh
authored andcommitted
mux: adg792a: Switch back to use i2c_driver's .probe()
After commit b8a1a4c ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit 03c835f ("i2c: Switch .probe() to not take an id parameter") convert back to (the new) .probe() to be able to eventually drop .probe_new() from struct i2c_driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Peter Rosin <peda@axentia.se> Message-ID: <20230611204737.828617-1-u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c85fd94 commit 9f7b17c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mux/adg792a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static struct i2c_driver adg792a_driver = {
143143
.name = "adg792a",
144144
.of_match_table = of_match_ptr(adg792a_of_match),
145145
},
146-
.probe_new = adg792a_probe,
146+
.probe = adg792a_probe,
147147
.id_table = adg792a_id,
148148
};
149149
module_i2c_driver(adg792a_driver);

0 commit comments

Comments
 (0)