hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/i2c/ths8200.c
....@@ -436,8 +436,7 @@
436436 .pad = &ths8200_pad_ops,
437437 };
438438
439
-static int ths8200_probe(struct i2c_client *client,
440
- const struct i2c_device_id *id)
439
+static int ths8200_probe(struct i2c_client *client)
441440 {
442441 struct ths8200_state *state;
443442 struct v4l2_subdev *sd;
....@@ -502,7 +501,7 @@
502501 .name = "ths8200",
503502 .of_match_table = of_match_ptr(ths8200_of_match),
504503 },
505
- .probe = ths8200_probe,
504
+ .probe_new = ths8200_probe,
506505 .remove = ths8200_remove,
507506 .id_table = ths8200_id,
508507 };