diff options
Diffstat (limited to 'drivers/mux/adg792a.c')
-rw-r--r-- | drivers/mux/adg792a.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mux/adg792a.c b/drivers/mux/adg792a.c index 6a8725cf3d71..e8fc2fc1ab09 100644 --- a/drivers/mux/adg792a.c +++ b/drivers/mux/adg792a.c | |||
@@ -58,8 +58,7 @@ static const struct mux_control_ops adg792a_ops = { | |||
58 | .set = adg792a_set, | 58 | .set = adg792a_set, |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static int adg792a_probe(struct i2c_client *i2c, | 61 | static int adg792a_probe(struct i2c_client *i2c) |
62 | const struct i2c_device_id *id) | ||
63 | { | 62 | { |
64 | struct device *dev = &i2c->dev; | 63 | struct device *dev = &i2c->dev; |
65 | struct mux_chip *mux_chip; | 64 | struct mux_chip *mux_chip; |
@@ -144,7 +143,7 @@ static struct i2c_driver adg792a_driver = { | |||
144 | .name = "adg792a", | 143 | .name = "adg792a", |
145 | .of_match_table = of_match_ptr(adg792a_of_match), | 144 | .of_match_table = of_match_ptr(adg792a_of_match), |
146 | }, | 145 | }, |
147 | .probe = adg792a_probe, | 146 | .probe_new = adg792a_probe, |
148 | .id_table = adg792a_id, | 147 | .id_table = adg792a_id, |
149 | }; | 148 | }; |
150 | module_i2c_driver(adg792a_driver); | 149 | module_i2c_driver(adg792a_driver); |