]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: x86: Drop the global platform device reference
authorTakashi Iwai <tiwai@suse.de>
Mon, 30 Jan 2017 17:09:01 +0000 (18:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Feb 2017 16:24:24 +0000 (17:24 +0100)
commitbf8b24f8169096050795b552a778faaac349c73c
tree07179ca69776ad1ba18643b57cea4a3c294b6fc6
parentaf3e5c9c5d370e262da97fb8a8310a9d578efa0d
ALSA: x86: Drop the global platform device reference

Instead of referring to the global hlpe_pdev variable, pass the
platform device object to each function properly.  Accessing to the
global object is really ugly and error-prone.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c
sound/x86/intel_hdmi_lpe_audio.c
sound/x86/intel_hdmi_lpe_audio.h