Commit 2f2afad9 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Wolfram Sang

i2c: mux: Convert all drivers to new .probe() callback

Now that .probe() was changed not to get the id parameter, drivers can
be converted back to that with the eventual goal to drop .probe_new().

Implement that for the i2c mux drivers.
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Acked-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 03c835f4
...@@ -306,7 +306,7 @@ static struct i2c_driver ltc4306_driver = { ...@@ -306,7 +306,7 @@ static struct i2c_driver ltc4306_driver = {
.name = "ltc4306", .name = "ltc4306",
.of_match_table = of_match_ptr(ltc4306_of_match), .of_match_table = of_match_ptr(ltc4306_of_match),
}, },
.probe_new = ltc4306_probe, .probe = ltc4306_probe,
.remove = ltc4306_remove, .remove = ltc4306_remove,
.id_table = ltc4306_id, .id_table = ltc4306_id,
}; };
......
...@@ -336,7 +336,7 @@ static struct i2c_driver pca9541_driver = { ...@@ -336,7 +336,7 @@ static struct i2c_driver pca9541_driver = {
.name = "pca9541", .name = "pca9541",
.of_match_table = of_match_ptr(pca9541_of_match), .of_match_table = of_match_ptr(pca9541_of_match),
}, },
.probe_new = pca9541_probe, .probe = pca9541_probe,
.remove = pca9541_remove, .remove = pca9541_remove,
.id_table = pca9541_id, .id_table = pca9541_id,
}; };
......
...@@ -554,7 +554,7 @@ static struct i2c_driver pca954x_driver = { ...@@ -554,7 +554,7 @@ static struct i2c_driver pca954x_driver = {
.pm = &pca954x_pm, .pm = &pca954x_pm,
.of_match_table = pca954x_of_match, .of_match_table = pca954x_of_match,
}, },
.probe_new = pca954x_probe, .probe = pca954x_probe,
.remove = pca954x_remove, .remove = pca954x_remove,
.id_table = pca954x_id, .id_table = pca954x_id,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment