summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMoses Christopher Bollavarapu <mosescb.dev@gmail.com>2022-04-30 01:27:54 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-05-17 10:35:34 +0300
commit92beb5559915a6a19de97e56c9600cac88a49836 (patch)
treeb1d511e75208298f140c89b405e2d7a566cddff8 /drivers/media
parentba43392e5240975fe75401747610e2d44595ea9e (diff)
downloadlinux-92beb5559915a6a19de97e56c9600cac88a49836.tar.xz
media: i2c: ov5645: Remove unneeded of_match_ptr macro
of_match_ptr isn't required as CONFIG_OF is already a dependency in Kconfig Signed-off-by: Moses Christopher Bollavarapu <mosescb.dev@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/i2c/ov5645.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov5645.c b/drivers/media/i2c/ov5645.c
index 5720e74e843b..562c62f192c4 100644
--- a/drivers/media/i2c/ov5645.c
+++ b/drivers/media/i2c/ov5645.c
@@ -1283,7 +1283,7 @@ MODULE_DEVICE_TABLE(of, ov5645_of_match);
static struct i2c_driver ov5645_i2c_driver = {
.driver = {
- .of_match_table = of_match_ptr(ov5645_of_match),
+ .of_match_table = ov5645_of_match,
.name = "ov5645",
},
.probe_new = ov5645_probe,