mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
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
This commit is contained in:
parent
6136b6a281
commit
f479832b42
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user