hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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 };