diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-14 15:04:07 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 17:21:21 +0300 |
commit | aaeb31c00e61f6bdc2e4a3c2c491c5455ed3f7b5 (patch) | |
tree | f47c22aa2c5721fdffc8486a1dc7b46229624532 /drivers/media/cec/i2c/ch7322.c | |
parent | 72a6127e9305ccf517ca962533c90c75bac39a57 (diff) | |
download | linux-aaeb31c00e61f6bdc2e4a3c2c491c5455ed3f7b5.tar.xz |
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/cec/i2c/ch7322.c')
-rw-r--r-- | drivers/media/cec/i2c/ch7322.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/cec/i2c/ch7322.c b/drivers/media/cec/i2c/ch7322.c index 34fad7123704..439c15bc9e44 100644 --- a/drivers/media/cec/i2c/ch7322.c +++ b/drivers/media/cec/i2c/ch7322.c @@ -591,7 +591,7 @@ static struct i2c_driver ch7322_i2c_driver = { .name = "ch7322", .of_match_table = of_match_ptr(ch7322_of_match), }, - .probe_new = ch7322_probe, + .probe = ch7322_probe, .remove = ch7322_remove, }; |