mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ALSA: hda: aw88399: Use auto-cleanup for put_device()
A temporary refcount management of a struct device can be done gracefully with __clean(put_device) for avoiding potential leaks. No functional change but just a code cleanup. Cc: Marco Giunta <marco_giunta@outlook.it> Reviewed-by: Marco Giunta <marco_giunta@outlook.it> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260803140100.919071-1-tiwai@suse.de
This commit is contained in:
parent
dc9edf5878
commit
5713fea91f
1 changed files with 2 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue