diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-08-16 19:02:44 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-17 10:21:40 +0300 |
commit | 7f018db19bf7cb5ba3e39ed9e51c8c5f2488dfb0 (patch) | |
tree | 6f83f35d239d1d79cd52e736ad77e317d6725b9e /sound/core/control.c | |
parent | 2e6f979037d5ae35c0ed38e2b63e9876eb7bc65f (diff) | |
download | linux-7f018db19bf7cb5ba3e39ed9e51c8c5f2488dfb0.tar.xz |
ALSA: core: Introduce snd_device_alloc()
Introduce a new helper, snd_device_alloc(), for allocating a struct
device that is bound with the sound class. It's a replacement of
snd_device_initialize().
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Tested-by: Curtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20230816160252.23396-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/control.c')
0 files changed, 0 insertions, 0 deletions