• Takashi Iwai's avatar
    ALSA: ymfpci: Simplify PM callbacks · 3e41c9b5
    Takashi Iwai authored
    This is a similar cleanup like the commit [3db084fd: ALSA: fm801:
    PCI core handles power state for us].
    
    Since pci_set_power_state(), pci_save_state() and pci_restore_state()
    are already done in the PCI core side, so we don't need to it doubly.
    
    Also, pci_enable_device(), pci_disable_device() and pci_set_master()
    calls in PM callbacks are superfluous nowadays, too, so get rid of
    them as well.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    3e41c9b5
ymfpci_main.c 71.6 KB