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 79e070c commit 7eafbd4Copy full SHA for 7eafbd4
drivers/media/i2c/ov2685.c
@@ -707,8 +707,7 @@ static int ov2685_configure_regulators(struct ov2685 *ov2685)
707
ov2685->supplies);
708
}
709
710
-static int ov2685_probe(struct i2c_client *client,
711
- const struct i2c_device_id *id)
+static int ov2685_probe(struct i2c_client *client)
712
{
713
struct device *dev = &client->dev;
714
struct ov2685 *ov2685;
@@ -830,7 +829,7 @@ static struct i2c_driver ov2685_i2c_driver = {
830
829
.pm = &ov2685_pm_ops,
831
.of_match_table = of_match_ptr(ov2685_of_match),
832
},
833
- .probe = &ov2685_probe,
+ .probe_new = &ov2685_probe,
834
.remove = &ov2685_remove,
835
};
836
0 commit comments