We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489d695 commit 5b379b2Copy full SHA for 5b379b2
drivers/regulator/mpq7920.c
@@ -260,8 +260,7 @@ static void mpq7920_parse_dt(struct device *dev,
260
of_node_put(np);
261
}
262
263
-static int mpq7920_i2c_probe(struct i2c_client *client,
264
- const struct i2c_device_id *id)
+static int mpq7920_i2c_probe(struct i2c_client *client)
265
{
266
struct device *dev = &client->dev;
267
struct mpq7920_regulator_info *info;
@@ -321,7 +320,7 @@ static struct i2c_driver mpq7920_regulator_driver = {
321
320
.name = "mpq7920",
322
.of_match_table = of_match_ptr(mpq7920_of_match),
323
},
324
- .probe = mpq7920_i2c_probe,
+ .probe_new = mpq7920_i2c_probe,
325
.id_table = mpq7920_id,
326
};
327
module_i2c_driver(mpq7920_regulator_driver);
0 commit comments