Skip to contentSkip to conversation

media: coda: Removed unneeded of_match_ptr()

PATCH Superseded Fabio Estevam 1 participant 1 message Mar 16, 2021 Media (V4L/DVB)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: coda: Removed unneeded of_match_ptr()

The coda driver only runs on i.MX, which is a DT-only platform, so remove the unneeded of_match_ptr().

---
 drivers/media/platform/coda/coda-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/coda/coda-common.c +1 -1
index 995e95272e51..ccb4d3f4804e 100644
@@ -3317,7 +3317,7 @@ static struct platform_driver coda_driver = {
 	.remove	= coda_remove,
 	.driver	= {
 		.name	= CODA_NAME,
-		.of_match_table = of_match_ptr(coda_dt_ids),
+		.of_match_table = coda_dt_ids,
 		.pm	= &coda_pm_ops,
 	},
 };
Signature · 1 line
2.25.1