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>
This commit is contained in:
Fabio Estevam 2021-03-29 14:21:43 +02:00 committed by Mauro Carvalho Chehab
parent e999db5873
commit 2f65dd20d0
1 changed files with 1 additions and 1 deletions

View 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,
},
};