Commit 2f65dd20 authored by Fabio Estevam's avatar Fabio Estevam Committed by Mauro Carvalho Chehab

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: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent e999db58
...@@ -1755,7 +1755,7 @@ static struct platform_driver pxp_driver = { ...@@ -1755,7 +1755,7 @@ static struct platform_driver pxp_driver = {
.remove = pxp_remove, .remove = pxp_remove,
.driver = { .driver = {
.name = MEM2MEM_NAME, .name = MEM2MEM_NAME,
.of_match_table = of_match_ptr(pxp_dt_ids), .of_match_table = pxp_dt_ids,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment