mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
mux: adg792a: Switch back to use i2c_driver's .probe()
After commitb8a1a4cd5a
("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit03c835f498
("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>
This commit is contained in:
parent
c85fd9422f
commit
9f7b17c9cf
@ -143,7 +143,7 @@ static struct i2c_driver adg792a_driver = {
|
||||
.name = "adg792a",
|
||||
.of_match_table = of_match_ptr(adg792a_of_match),
|
||||
},
|
||||
.probe_new = adg792a_probe,
|
||||
.probe = adg792a_probe,
|
||||
.id_table = adg792a_id,
|
||||
};
|
||||
module_i2c_driver(adg792a_driver);
|
||||
|
Loading…
Reference in New Issue
Block a user