summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-06-26 11:05:33 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-07-19 12:57:51 +0200
commit28999781d15f94046e6c23a9a7d92ad28a436abf (patch)
tree6d59fff9e1eb8ace8ade78c3c874b5965dc5e489
parentc281355068bc258fd619c5aefd978595bede7bfe (diff)
downloadlinux-stable-28999781d15f94046e6c23a9a7d92ad28a436abf.tar.gz
linux-stable-28999781d15f94046e6c23a9a7d92ad28a436abf.tar.bz2
linux-stable-28999781d15f94046e6c23a9a7d92ad28a436abf.zip
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 <u.kleine-koenig@pengutronix.de> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--drivers/media/i2c/ov01a10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov01a10.c b/drivers/media/i2c/ov01a10.c
index de5bc19e715b..2b9e1b3a3bf4 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,
};