ALSA: hda - Drop hda_bus_template for snd_hda_bus_new()
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2015 12:56:29 +0000 (13:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2015 13:23:57 +0000 (14:23 +0100)
commitef7449780ebb596b47d5019eb7ba7878c30a3404
tree1eb413a617ebca8e9e81cc2080208cdba3e5a32b
parent9fd37810daa56b8c0a8d51565216c95220889e62
ALSA: hda - Drop hda_bus_template for snd_hda_bus_new()

Instead of copying from the given template, let the caller fills the
fields after creation.  This simplifies the code after all.

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