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 01d9387 commit e602898Copy full SHA for e602898
drivers/w1/masters/ds2482.c
@@ -442,8 +442,7 @@ static u8 ds2482_w1_set_pullup(void *data, int delay)
442
}
443
444
445
-static int ds2482_probe(struct i2c_client *client,
446
- const struct i2c_device_id *id)
+static int ds2482_probe(struct i2c_client *client)
447
{
448
struct ds2482_data *data;
449
int err = -ENODEV;
@@ -553,7 +552,7 @@ static struct i2c_driver ds2482_driver = {
553
552
.driver = {
554
.name = "ds2482",
555
},
556
- .probe = ds2482_probe,
+ .probe_new = ds2482_probe,
557
.remove = ds2482_remove,
558
.id_table = ds2482_id,
559
};
0 commit comments