ALSA: hda - use input_free_device()
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 Jul 2008 10:08:16 +0000 (12:08 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 29 Jul 2008 19:32:08 +0000 (21:32 +0200)
commitf6154d6d007c69a330acc9021ec77cca5da9dc4c
tree54f8aaa54493414e184adcb62ad4eba687ba9e29
parent0d94e41abe271c86df06bcf72d24f9ca7ce771f0
ALSA: hda - use input_free_device()

Use input_free_devce() correctly instead of kfree() at error path.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_beep.c