OSDN Git Service

ALSA: core: Introduce snd_device_alloc()
authorTakashi Iwai <tiwai@suse.de>
Wed, 16 Aug 2023 16:02:44 +0000 (18:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Aug 2023 07:21:40 +0000 (09:21 +0200)
commit7f018db19bf7cb5ba3e39ed9e51c8c5f2488dfb0
tree6f83f35d239d1d79cd52e736ad77e317d6725b9e
parent2e6f979037d5ae35c0ed38e2b63e9876eb7bc65f
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>
include/sound/core.h
sound/core/init.c