diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-11 15:14:26 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-13 19:37:47 +0100 |
commit | f479832b42df596775c1e787e02c7277bfba6a4a (patch) | |
tree | 83b2a9765e2ad319310792f7b0521e12bf6bafa3 /sound/drivers | |
parent | 6136b6a281b40cb795a76f1769eeb7ef5026b86f (diff) |
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 'sound/drivers')
-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, }; |