hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/i2c/adv7343.c
....@@ -428,8 +428,7 @@
428428 return pdata;
429429 }
430430
431
-static int adv7343_probe(struct i2c_client *client,
432
- const struct i2c_device_id *id)
431
+static int adv7343_probe(struct i2c_client *client)
433432 {
434433 struct adv7343_state *state;
435434 int err;
....@@ -524,7 +523,7 @@
524523 .of_match_table = of_match_ptr(adv7343_of_match),
525524 .name = "adv7343",
526525 },
527
- .probe = adv7343_probe,
526
+ .probe_new = adv7343_probe,
528527 .remove = adv7343_remove,
529528 .id_table = adv7343_id,
530529 };