diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-11 15:14:23 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-13 19:37:45 +0100 |
commit | f83e34034fcc5fd0551d9257b710b61d999a8174 (patch) | |
tree | 5fd1e0c229f62b713688d5cba52cda2cbf3e9a7d /sound/soc/atmel | |
parent | 67ed781228bdcca7a0d2058cf62d0c1860898330 (diff) | |
download | lwn-f83e34034fcc5fd0551d9257b710b61d999a8174.tar.gz lwn-f83e34034fcc5fd0551d9257b710b61d999a8174.zip |
ASoC: atmel: tse850-pcm5142: 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-3-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r-- | sound/soc/atmel/tse850-pcm5142.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/tse850-pcm5142.c b/sound/soc/atmel/tse850-pcm5142.c index efead272d92b..c809b121037f 100644 --- a/sound/soc/atmel/tse850-pcm5142.c +++ b/sound/soc/atmel/tse850-pcm5142.c @@ -430,7 +430,7 @@ MODULE_DEVICE_TABLE(of, tse850_dt_ids); static struct platform_driver tse850_driver = { .driver = { .name = "axentia-tse850-pcm5142", - .of_match_table = of_match_ptr(tse850_dt_ids), + .of_match_table = tse850_dt_ids, }, .probe = tse850_probe, .remove_new = tse850_remove, |