projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f83e340
)
ASoC: sunxi: sun4i-spdif: Remove redundant of_match_ptr()
author
Ruan Jinjie
<ruanjinjie@huawei.com>
Fri, 11 Aug 2023 07:14:24 +0000
(15:14 +0800)
committer
Mark Brown
<broonie@kernel.org>
Sun, 13 Aug 2023 18:37:46 +0000
(19:37 +0100)
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
sound/soc/sunxi/sun4i-spdif.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sunxi/sun4i-spdif.c
b/sound/soc/sunxi/sun4i-spdif.c
index ff18d4113aac0823e1a0c9c488912e724199f16d..c2b55d2e5fe124f7d951d6d12f5db0ce1461900f 100644
(file)
--- a/
sound/soc/sunxi/sun4i-spdif.c
+++ b/
sound/soc/sunxi/sun4i-spdif.c
@@
-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,