summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-03-29 15:21:43 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-04-06 17:08:03 +0300
commit2f65dd20d02ee372547863a4fee34f5fbe480511 (patch)
treeefc0e565648d93faaee012fae526472daa6fdaed /drivers
parente999db587312e5b798421d803495f41d1283d7d7 (diff)
downloadlinux-2f65dd20d02ee372547863a4fee34f5fbe480511.tar.xz
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(). 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/imx-pxp.c2
1 files changed, 1 insertions, 1 deletions
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,
},
};