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(): commit6363db1c9d
("media: i2c: add DS90UB953 driver") commitc158d0d4ff
("media: i2c: add DS90UB913 driver") commitafe267f2d3
("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]
This commit is contained in:
parent
4b9fbbd58e
commit
f2183847cf
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user