]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dummy: Allocate resources with device-managed APIs
authorTakashi Iwai <tiwai@suse.de>
Thu, 15 Jul 2021 07:59:40 +0000 (09:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Jul 2021 14:17:32 +0000 (16:17 +0200)
commitf7f886827ed08b7315cf5e556397e0f702bd7f6d
tree37002e05e6a29381e5c79478d99cdd2f8e7365fd
parent22de4e9863737825b3127fec055986992caefdf7
ALSA: dummy: Allocate resources with device-managed APIs

Use the new snd_devm_card_new() for the card object allocation, and
clean up the superfluous remove callback.

Link: https://lore.kernel.org/r/20210715075941.23332-79-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/dummy.c