ALSA: pdaudiocf: Remove superfluous pm_message_t argument from suspend
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Jul 2012 13:42:33 +0000 (15:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 06:23:08 +0000 (08:23 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/pdaudiocf/pdaudiocf.c
sound/pcmcia/pdaudiocf/pdaudiocf.h
sound/pcmcia/pdaudiocf/pdaudiocf_core.c

index 830839a874b6899ae4e6979ae92f601dbb1fad56..f9b5229b2723f01cadee7877096f66d025caafe1 100644 (file)
@@ -251,7 +251,7 @@ static int pdacf_suspend(struct pcmcia_device *link)
        snd_printdd(KERN_DEBUG "SUSPEND\n");
        if (chip) {
                snd_printdd(KERN_DEBUG "snd_pdacf_suspend calling\n");
-               snd_pdacf_suspend(chip, PMSG_SUSPEND);
+               snd_pdacf_suspend(chip);
        }
 
        return 0;
index 6ce9ad700290d02f6358b9e6f0f4509b5ba1bcc1..ea41e57d71794974559318d7aea7a8c46dfca5c9 100644 (file)
@@ -131,7 +131,7 @@ struct snd_pdacf *snd_pdacf_create(struct snd_card *card);
 int snd_pdacf_ak4117_create(struct snd_pdacf *pdacf);
 void snd_pdacf_powerdown(struct snd_pdacf *chip);
 #ifdef CONFIG_PM
-int snd_pdacf_suspend(struct snd_pdacf *chip, pm_message_t state);
+int snd_pdacf_suspend(struct snd_pdacf *chip);
 int snd_pdacf_resume(struct snd_pdacf *chip);
 #endif
 int snd_pdacf_pcm_new(struct snd_pdacf *chip);
index 9dce0bde5c05b078ba32ffb5e18b775353c9a7d3..ea0adfb984ad7f37626b9ecff2833dc939dca61f 100644 (file)
@@ -262,7 +262,7 @@ void snd_pdacf_powerdown(struct snd_pdacf *chip)
 
 #ifdef CONFIG_PM
 
-int snd_pdacf_suspend(struct snd_pdacf *chip, pm_message_t state)
+int snd_pdacf_suspend(struct snd_pdacf *chip)
 {
        u16 val;