diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-11 15:14:22 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-13 19:37:44 +0100 |
commit | 67ed781228bdcca7a0d2058cf62d0c1860898330 (patch) | |
tree | 0039a67e3668d205cf93d3818026510467e12e87 /sound/soc/atmel/mchp-i2s-mcc.c | |
parent | 061599c8285848fe4ec64becb278dcdd60dd3369 (diff) |
ASoC: atmel: 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-2-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/atmel/mchp-i2s-mcc.c')
-rw-r--r-- | sound/soc/atmel/mchp-i2s-mcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/mchp-i2s-mcc.c b/sound/soc/atmel/mchp-i2s-mcc.c index 7c83d48ca1a0..4b8a63295f89 100644 --- a/sound/soc/atmel/mchp-i2s-mcc.c +++ b/sound/soc/atmel/mchp-i2s-mcc.c @@ -1098,7 +1098,7 @@ static void mchp_i2s_mcc_remove(struct platform_device *pdev) static struct platform_driver mchp_i2s_mcc_driver = { .driver = { .name = "mchp_i2s_mcc", - .of_match_table = of_match_ptr(mchp_i2s_mcc_dt_ids), + .of_match_table = mchp_i2s_mcc_dt_ids, }, .probe = mchp_i2s_mcc_probe, .remove_new = mchp_i2s_mcc_remove, |