mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
ASoC: sunxi: sun4i-spdif: 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 Link: https://lore.kernel.org/r/20230811071426.2343133-4-ruanjinjie@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org
This commit is contained in:
parent
f83e34034f
commit
29546c3af6
1 changed files with 1 additions and 1 deletions
|
@ -718,7 +718,7 @@ static const struct dev_pm_ops sun4i_spdif_pm = {
|
|||
static struct platform_driver sun4i_spdif_driver = {
|
||||
.driver = {
|
||||
.name = "sun4i-spdif",
|
||||
.of_match_table = of_match_ptr(sun4i_spdif_of_match),
|
||||
.of_match_table = sun4i_spdif_of_match,
|
||||
.pm = &sun4i_spdif_pm,
|
||||
},
|
||||
.probe = sun4i_spdif_probe,
|
||||
|
|
Loading…
Reference in a new issue