Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ruan Jinjie and committed by
Hans Verkuil
29d3e0b8 d27bb024

+1 -1
+1 -1
drivers/staging/media/sunxi/cedrus/cedrus.c
··· 708 708 .remove_new = cedrus_remove, 709 709 .driver = { 710 710 .name = CEDRUS_NAME, 711 - .of_match_table = of_match_ptr(cedrus_dt_match), 711 + .of_match_table = cedrus_dt_match, 712 712 .pm = &cedrus_dev_pm_ops, 713 713 }, 714 714 };