diff options
author | Uwe Kleine-König <[email protected]> | 2023-05-24 16:16:44 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-05-26 10:56:13 +0100 |
commit | 645dec333f5f9451ea0f888a8dd9ececa7300424 (patch) | |
tree | 44b5bbb65efebcce15ba7be4d7b95d0237bad113 | |
parent | 962508e31c77de6daee780233084e521b9724cd0 (diff) |
media: staging: max96712: Switch i2c driver 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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r-- | drivers/staging/media/max96712/max96712.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/max96712/max96712.c b/drivers/staging/media/max96712/max96712.c index ce4ebb63d54d..c44145284aa1 100644 --- a/drivers/staging/media/max96712/max96712.c +++ b/drivers/staging/media/max96712/max96712.c @@ -453,7 +453,7 @@ static struct i2c_driver max96712_i2c_driver = { .name = "max96712", .of_match_table = of_match_ptr(max96712_of_table), }, - .probe_new = max96712_probe, + .probe = max96712_probe, .remove = max96712_remove, }; |