summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/mchp-spdiftx.c
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-11 09:14:22 +0200
committerMark Brown <broonie@kernel.org>2023-08-13 20:37:44 +0200
commit67ed781228bdcca7a0d2058cf62d0c1860898330 (patch)
tree0039a67e3668d205cf93d3818026510467e12e87 /sound/soc/atmel/mchp-spdiftx.c
parentASoC: SOF: Intel: Remove duplicated include in lnl.c (diff)
downloadlinux-67ed781228bdcca7a0d2058cf62d0c1860898330.tar.xz
linux-67ed781228bdcca7a0d2058cf62d0c1860898330.zip
ASoC: atmel: 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 Link: https://lore.kernel.org/r/20230811071426.2343133-2-ruanjinjie@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/atmel/mchp-spdiftx.c')
-rw-r--r--sound/soc/atmel/mchp-spdiftx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/mchp-spdiftx.c b/sound/soc/atmel/mchp-spdiftx.c
index 1d3e17119888..b1040576f71f 100644
--- a/sound/soc/atmel/mchp-spdiftx.c
+++ b/sound/soc/atmel/mchp-spdiftx.c
@@ -891,7 +891,7 @@ static struct platform_driver mchp_spdiftx_driver = {
.remove_new = mchp_spdiftx_remove,
.driver = {
.name = "mchp_spdiftx",
- .of_match_table = of_match_ptr(mchp_spdiftx_dt_ids),
+ .of_match_table = mchp_spdiftx_dt_ids,
.pm = pm_ptr(&mchp_spdiftx_pm_ops)
},
};