diff mbox series

media: imx-pxp: Remove unneeded of_match_ptr()

Message ID 20210329122143.579240-1-festevam@gmail.com
State Accepted
Commit 2f65dd20d02ee372547863a4fee34f5fbe480511
Headers show
Series media: imx-pxp: Remove unneeded of_match_ptr() | expand

Commit Message

Fabio Estevam March 29, 2021, 12:21 p.m. UTC
i.MX is a DT-only platform, so of_match_ptr() can be safely
removed.

Remove the unneeded of_match_ptr(). 

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/media/platform/imx-pxp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/media/platform/imx-pxp.c b/drivers/media/platform/imx-pxp.c
index 08d76eb05ed1..078d19afe35f 100644
--- a/drivers/media/platform/imx-pxp.c
+++ b/drivers/media/platform/imx-pxp.c
@@ -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,
 	},
 };