diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-11 05:49:45 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 10:40:01 +0300 |
commit | 29d3e0b8bdb5dae76e529c70c06a2132d9c39f86 (patch) | |
tree | 6677587390dc3d781501fe3396278f207801fa82 /drivers/staging/media | |
parent | d27bb0246e5356dbef4d923e72c680bf893885a8 (diff) | |
download | linux-29d3e0b8bdb5dae76e529c70c06a2132d9c39f86.tar.xz |
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>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r-- | drivers/staging/media/sunxi/cedrus/cedrus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c index 8e248d4a0aec..f52df6836045 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -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, }, }; |