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 020cf73 commit 2532d5fCopy full SHA for 2532d5f
drivers/regulator/lp3972.c
@@ -495,8 +495,7 @@ static int setup_regulators(struct lp3972 *lp3972,
495
return 0;
496
}
497
498
-static int lp3972_i2c_probe(struct i2c_client *i2c,
499
- const struct i2c_device_id *id)
+static int lp3972_i2c_probe(struct i2c_client *i2c)
500
{
501
struct lp3972 *lp3972;
502
struct lp3972_platform_data *pdata = dev_get_platdata(&i2c->dev);
@@ -547,7 +546,7 @@ static struct i2c_driver lp3972_i2c_driver = {
547
546
.driver = {
548
.name = "lp3972",
549
},
550
- .probe = lp3972_i2c_probe,
+ .probe_new = lp3972_i2c_probe,
551
.id_table = lp3972_i2c_id,
552
};
553
0 commit comments