Commit 92beb555 authored by Moses Christopher Bollavarapu's avatar Moses Christopher Bollavarapu Committed by Mauro Carvalho Chehab
Browse files

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: default avatarMoses Christopher Bollavarapu <mosescb.dev@gmail.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent ba43392e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,