summaryrefslogtreecommitdiff
path: root/sound/x86/intel_hdmi_audio_if.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-01-30 18:52:06 +0300
committerTakashi Iwai <tiwai@suse.de>2017-02-03 19:21:57 +0300
commit6f9ecc76f4e04b111160d789f36a8c5bf1cc9ab6 (patch)
treefb9c7ee68e0f9b0798914d5f23d1c71fccc3efe3 /sound/x86/intel_hdmi_audio_if.c
parent9eca88c881f1c74c7f5dda3c67cb0b4178429e93 (diff)
downloadlinux-6f9ecc76f4e04b111160d789f36a8c5bf1cc9ab6.tar.xz
ALSA: x86: Drop snd_intel_had_interface indirect calls
Yet another indirection is killed: at this time, it's snd_intel_had_interface. It contains also the name string, but it's nowhere used, thus we can kill it, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio_if.c')
-rw-r--r--sound/x86/intel_hdmi_audio_if.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/x86/intel_hdmi_audio_if.c b/sound/x86/intel_hdmi_audio_if.c
index 4334be100655..88ebcb5f7388 100644
--- a/sound/x86/intel_hdmi_audio_if.c
+++ b/sound/x86/intel_hdmi_audio_if.c
@@ -91,12 +91,11 @@ int hdmi_audio_query(void *haddata, struct hdmi_audio_event event)
* hdmi_audio_suspend - power management suspend function
*
*@haddata: pointer to HAD private data
- *@event: pm event for which this method is invoked
*
* This function is called by client driver to suspend the
* hdmi audio.
*/
-int hdmi_audio_suspend(void *haddata, struct hdmi_audio_event event)
+int hdmi_audio_suspend(void *haddata)
{
int caps, retval = 0;
struct had_pvt_data *had_stream;