media: coda: Remove unneeded of_match_ptr()

The coda driver only runs on i.MX, which is a DT-only platform, so
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-16 17:50:39 +01:00 committed by Mauro Carvalho Chehab
parent 9cc25c4bea
commit 1a77d4fd3b
1 changed files with 1 additions and 1 deletions

View File

@ -3317,7 +3317,7 @@ static struct platform_driver coda_driver = {
.remove = coda_remove,
.driver = {
.name = CODA_NAME,
.of_match_table = of_match_ptr(coda_dt_ids),
.of_match_table = coda_dt_ids,
.pm = &coda_pm_ops,
},
};