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)
commited16a22b09002fe1bef302242a0ac4a00f44b20d
tree37002e05e6a29381e5c79478d99cdd2f8e7365fd
parentb072e65aadd683e75518150c609ae29b5d33fe0c
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