mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
The powermac driver's remove callback is nothing but a simple snd_card_free() call, so let's use the devres for managing the card, for simplifying the handling. Now the card is created via snd_devm_card_new() that is auto-cleaned up at probe for errors. Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]