ALSA: hda - Remove dependency on bus->pci in hda_beep.c
authorTakashi Iwai <tiwai@suse.de>
Sat, 15 Feb 2014 09:01:40 +0000 (10:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 15 Feb 2014 09:05:35 +0000 (10:05 +0100)
commited9d0b626e65ab653e5421083d8dcd59cacd1132
tree68c06150563e68f9609283dc9439e89552281907
parent115b94d51a3ee1b7dfffa74f77e20cd11da70b91
ALSA: hda - Remove dependency on bus->pci in hda_beep.c

The default parent device can be obtained directly via card object, so
we don't need to rely on pci->dev.parent.  Since there is no access to
pci_dev, we can reduce the inclusion of linux/pci.h, too.

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