From: Takashi Iwai Date: Tue, 14 Apr 2015 20:13:18 +0000 (+0200) Subject: ALSA: hda - Embed bus into controller object X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~111^2^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a41d122449bea303ada415ef5fb2bf434f5481f9;p=pandora-kernel.git ALSA: hda - Embed bus into controller object ... and replace with the existing hda-core helper codes. This reduces lots of lines, finally. Since struct hda_bus is now embedded into struct azx, snd_hda_bus_new() is moved and expanded from hda_codec.c to hda_controller.c, accordingly. Also private_free bus ops and private_data field are removed because we no longer need to point azx object from bus (we can use container_of()) The spin locks are consolidated into the single one, bus->reg_lock. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed