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 6554256 commit 69518d2Copy full SHA for 69518d2
drivers/regulator/isl6271a-regulator.c
@@ -97,9 +97,9 @@ static const struct regulator_desc isl_rd[] = {
97
},
98
};
99
100
-static int isl6271a_probe(struct i2c_client *i2c,
101
- const struct i2c_device_id *id)
+static int isl6271a_probe(struct i2c_client *i2c)
102
{
+ const struct i2c_device_id *id = i2c_client_get_device_id(i2c);
103
struct regulator_dev *rdev;
104
struct regulator_config config = { };
105
struct regulator_init_data *init_data = dev_get_platdata(&i2c->dev);
@@ -148,7 +148,7 @@ static struct i2c_driver isl6271a_i2c_driver = {
148
.driver = {
149
.name = "isl6271a",
150
151
- .probe = isl6271a_probe,
+ .probe_new = isl6271a_probe,
152
.id_table = isl6271a_id,
153
154
0 commit comments