Skip to contentSkip to conversation

media: imx-pxp: Remove unneeded of_match_ptr()

PATCH New Fabio Estevam 1 participant 1 message Mar 29, 2021

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 media: imx-pxp: Remove unneeded of_match_ptr()

i.MX is a DT-only platform, so of_match_ptr() can be safely removed.

Remove the unneeded of_match_ptr().

---
 drivers/media/platform/imx-pxp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/imx-pxp.c +1 -1
index 08d76eb05ed1..078d19afe35f 100644
@@ -1755,7 +1755,7 @@ static struct platform_driver pxp_driver = {
 	.remove		= pxp_remove,
 	.driver		= {
 		.name	= MEM2MEM_NAME,
-		.of_match_table = of_match_ptr(pxp_dt_ids),
+		.of_match_table = pxp_dt_ids,
 	},
 };
 
Signature · 1 line
2.25.1