aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/ssm3515.c
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-11 15:14:25 +0800
committerMark Brown <broonie@kernel.org>2023-08-13 19:37:47 +0100
commit6136b6a281b40cb795a76f1769eeb7ef5026b86f (patch)
treef8adcd3af3af18fc0ab513172343628232cda1f3 /sound/soc/codecs/ssm3515.c
parentASoC: sunxi: sun4i-spdif: Remove redundant of_match_ptr() (diff)
downloadwireguard-linux-6136b6a281b40cb795a76f1769eeb7ef5026b86f.tar.xz
wireguard-linux-6136b6a281b40cb795a76f1769eeb7ef5026b86f.zip
ASoC: ssm3515: 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-5-ruanjinjie@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/codecs/ssm3515.c')
-rw-r--r--sound/soc/codecs/ssm3515.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ssm3515.c b/sound/soc/codecs/ssm3515.c
index 008cb3eb5758..8c6665677a17 100644
--- a/sound/soc/codecs/ssm3515.c
+++ b/sound/soc/codecs/ssm3515.c
@@ -437,7 +437,7 @@ MODULE_DEVICE_TABLE(of, ssm3515_of_match);
static struct i2c_driver ssm3515_i2c_driver = {
.driver = {
.name = "ssm3515",
- .of_match_table = of_match_ptr(ssm3515_of_match),
+ .of_match_table = ssm3515_of_match,
},
.probe = ssm3515_i2c_probe,
};