mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
media: staging: media: sunxi: cedrus: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
d27bb0246e
commit
29d3e0b8bd
|
|
@ -708,7 +708,7 @@ static struct platform_driver cedrus_driver = {
|
|||
.remove_new = cedrus_remove,
|
||||
.driver = {
|
||||
.name = CEDRUS_NAME,
|
||||
.of_match_table = of_match_ptr(cedrus_dt_match),
|
||||
.of_match_table = cedrus_dt_match,
|
||||
.pm = &cedrus_dev_pm_ops,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user