summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ds90ub953.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-07-18 23:45:41 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-07-19 13:57:51 +0300
commitf2183847cf65c8df3ffcf0e7ee7d11425c93794e (patch)
tree86bb3e21999f3fa9912b3226523e38e1319d8eac /drivers/media/i2c/ds90ub953.c
parent4b9fbbd58e35337d59431e988149930c1987dc30 (diff)
downloadlinux-f2183847cf65c8df3ffcf0e7ee7d11425c93794e.tar.xz
media: ds90ub9xx: switch three more drivers back to use struct i2c_driver::probe()
struct i2c_driver::probe_new() is about to go away. Since I converted all drivers below drivers/media use struct i2c_driver::probe, three more drivers were added in the following commits that use .probe_new(): commit 6363db1c9d45 ("media: i2c: add DS90UB953 driver") commit c158d0d4ff15 ("media: i2c: add DS90UB913 driver") commit afe267f2d368 ("media: i2c: add DS90UB960 driver") Switch these driver to use the probe callback. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: use proper commit description style]
Diffstat (limited to 'drivers/media/i2c/ds90ub953.c')
-rw-r--r--drivers/media/i2c/ds90ub953.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ds90ub953.c b/drivers/media/i2c/ds90ub953.c
index ce1c6f8b656e..591b52bf71c2 100644
--- a/drivers/media/i2c/ds90ub953.c
+++ b/drivers/media/i2c/ds90ub953.c
@@ -1382,7 +1382,7 @@ static const struct of_device_id ub953_dt_ids[] = {
MODULE_DEVICE_TABLE(of, ub953_dt_ids);
static struct i2c_driver ds90ub953_driver = {
- .probe_new = ub953_probe,
+ .probe = ub953_probe,
.remove = ub953_remove,
.id_table = ub953_id,
.driver = {