media: imx-pxp: Remove unneeded of_match_ptr()
authorFabio Estevam <festevam@gmail.com>
Mon, 29 Mar 2021 12:21:43 +0000 (14:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 6 Apr 2021 14:08:03 +0000 (16:08 +0200)
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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/imx-pxp.c

index 08d76eb..078d19a 100644 (file)
@@ -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,
        },
 };