diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-03-29 14:21:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-04-06 16:08:03 +0200 |
commit | 2f65dd20d02ee372547863a4fee34f5fbe480511 (patch) | |
tree | efc0e565648d93faaee012fae526472daa6fdaed /drivers/media | |
parent | media: tw68: switch from 'pci_' to 'dma_' API (diff) | |
download | linux-2f65dd20d02ee372547863a4fee34f5fbe480511.tar.xz linux-2f65dd20d02ee372547863a4fee34f5fbe480511.zip |
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/media')
-rw-r--r-- | drivers/media/platform/imx-pxp.c | 2 |
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, }, }; |