Message ID | 20230811071426.2343133-3-ruanjinjie@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f83e34034fcc5fd0551d9257b710b61d999a8174 |
Headers | show |
Series | sound: Remove redundant of_match_ptr() macro | expand |
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,
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> --- sound/soc/atmel/tse850-pcm5142.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)