Commit f83e3403 authored by Ruan Jinjie's avatar Ruan Jinjie Committed by Mark Brown

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
parent 67ed7812
...@@ -430,7 +430,7 @@ MODULE_DEVICE_TABLE(of, tse850_dt_ids); ...@@ -430,7 +430,7 @@ MODULE_DEVICE_TABLE(of, tse850_dt_ids);
static struct platform_driver tse850_driver = { static struct platform_driver tse850_driver = {
.driver = { .driver = {
.name = "axentia-tse850-pcm5142", .name = "axentia-tse850-pcm5142",
.of_match_table = of_match_ptr(tse850_dt_ids), .of_match_table = tse850_dt_ids,
}, },
.probe = tse850_probe, .probe = tse850_probe,
.remove_new = tse850_remove, .remove_new = tse850_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment