From f2183847cf65c8df3ffcf0e7ee7d11425c93794e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Tue, 18 Jul 2023 22:45:41 +0200 Subject: [PATCH] media: ds90ub9xx: switch three more drivers back to use struct i2c_driver::probe() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Hans Verkuil [hverkuil: use proper commit description style] --- drivers/media/i2c/ds90ub913.c | 2 +- drivers/media/i2c/ds90ub953.c | 2 +- drivers/media/i2c/ds90ub960.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/ds90ub913.c b/drivers/media/i2c/ds90ub913.c index 203f7cceae239..4dae5afa9fa98 100644 --- a/drivers/media/i2c/ds90ub913.c +++ b/drivers/media/i2c/ds90ub913.c @@ -889,7 +889,7 @@ static const struct of_device_id ub913_dt_ids[] = { MODULE_DEVICE_TABLE(of, ub913_dt_ids); static struct i2c_driver ds90ub913_driver = { - .probe_new = ub913_probe, + .probe = ub913_probe, .remove = ub913_remove, .id_table = ub913_id, .driver = { diff --git a/drivers/media/i2c/ds90ub953.c b/drivers/media/i2c/ds90ub953.c index ce1c6f8b656e7..591b52bf71c21 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 = { diff --git a/drivers/media/i2c/ds90ub960.c b/drivers/media/i2c/ds90ub960.c index 92aa004a3674f..b9a1ef63629b6 100644 --- a/drivers/media/i2c/ds90ub960.c +++ b/drivers/media/i2c/ds90ub960.c @@ -4034,7 +4034,7 @@ static const struct of_device_id ub960_dt_ids[] = { MODULE_DEVICE_TABLE(of, ub960_dt_ids); static struct i2c_driver ds90ub960_driver = { - .probe_new = ub960_probe, + .probe = ub960_probe, .remove = ub960_remove, .id_table = ub960_id, .driver = { -- 2.30.2