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
This commit is contained in:
Ruan Jinjie
2023-08-11 15:14:23 +08:00
committed by Mark Brown
parent 67ed781228
commit f83e34034f
+1 -1
View File
@@ -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,