diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-11 09:14:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-13 20:37:47 +0200 |
commit | f479832b42df596775c1e787e02c7277bfba6a4a (patch) | |
tree | 83b2a9765e2ad319310792f7b0521e12bf6bafa3 /sound/drivers/serial-generic.c | |
parent | ASoC: ssm3515: Remove redundant of_match_ptr() (diff) | |
download | linux-f479832b42df596775c1e787e02c7277bfba6a4a.tar.xz linux-f479832b42df596775c1e787e02c7277bfba6a4a.zip |
ALSA: 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
Reviewed-by: Takashi Iwai <tiwai@suse.de
Link: https://lore.kernel.org/r/20230811071426.2343133-6-ruanjinjie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to '')
-rw-r--r-- | sound/drivers/serial-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/serial-generic.c b/sound/drivers/serial-generic.c index e1f864dc7939..ea8072bf3aa4 100644 --- a/sound/drivers/serial-generic.c +++ b/sound/drivers/serial-generic.c @@ -366,7 +366,7 @@ MODULE_DEVICE_TABLE(of, snd_serial_generic_dt_ids); static struct serdev_device_driver snd_serial_generic_driver = { .driver = { .name = "snd-serial-generic", - .of_match_table = of_match_ptr(snd_serial_generic_dt_ids), + .of_match_table = snd_serial_generic_dt_ids, }, .probe = snd_serial_generic_probe, }; |