From: Uwe Kleine-König Date: Mon, 26 Jun 2023 09:05:33 +0000 (+0200) Subject: media: i2c: ov01a10: Switch back to use struct i2c_driver::probe X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=28999781d15f94046e6c23a9a7d92ad28a436abf;p=linux.git media: i2c: ov01a10: Switch back to use struct i2c_driver::probe struct i2c_driver::probe_new is about to go away. Switch the driver to use the probe callback with the same prototype. Signed-off-by: Uwe Kleine-König Reviewed-by: Kieran Bingham Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/i2c/ov01a10.c b/drivers/media/i2c/ov01a10.c index de5bc19e715b1..2b9e1b3a3bf4f 100644 --- a/drivers/media/i2c/ov01a10.c +++ b/drivers/media/i2c/ov01a10.c @@ -992,7 +992,7 @@ static struct i2c_driver ov01a10_i2c_driver = { .pm = &ov01a10_pm_ops, .acpi_match_table = ACPI_PTR(ov01a10_acpi_ids), }, - .probe_new = ov01a10_probe, + .probe = ov01a10_probe, .remove = ov01a10_remove, };