diff options
author | 2023-05-14 14:04:07 +0200 | |
---|---|---|
committer | 2023-05-25 16:21:21 +0200 | |
commit | aaeb31c00e61f6bdc2e4a3c2c491c5455ed3f7b5 (patch) | |
tree | f47c22aa2c5721fdffc8486a1dc7b46229624532 /drivers/media/dvb-frontends/tc90522.c | |
parent | media: Add common header file with JPEG marker definitions (diff) | |
download | linux-aaeb31c00e61f6bdc2e4a3c2c491c5455ed3f7b5.tar.gz linux-aaeb31c00e61f6bdc2e4a3c2c491c5455ed3f7b5.tar.bz2 linux-aaeb31c00e61f6bdc2e4a3c2c491c5455ed3f7b5.zip |
media: Switch i2c drivers back to use .probe()
After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
commit 03c835f498b5 ("i2c: Switch .probe() to not take an id parameter")
convert back to (the new) .probe() to be able to eventually drop
.probe_new() from struct i2c_driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/dvb-frontends/tc90522.c')
-rw-r--r-- | drivers/media/dvb-frontends/tc90522.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index 77a991bf4713..879f028f9682 100644 --- a/drivers/media/dvb-frontends/tc90522.c +++ b/drivers/media/dvb-frontends/tc90522.c @@ -840,7 +840,7 @@ static struct i2c_driver tc90522_driver = { .driver = { .name = "tc90522", }, - .probe_new = tc90522_probe, + .probe = tc90522_probe, .remove = tc90522_remove, .id_table = tc90522_id, }; |