]> git.baikalelectronics.ru Git - kernel.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)
commit4aacab2b0f201b5103c2824379c64b19a0ddb0e7
tree07179ca69776ad1ba18643b57cea4a3c294b6fc6
parent97f084c11020e0bf8831a691a3cc71541b785718
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