• Vaibhav Gupta's avatar
    natsemi: use generic power management · 40c1b1ee
    Vaibhav Gupta authored
    With legacy PM, drivers themselves were responsible for managing the
    device's power states and takes care of register states.
    
    After upgrading to the generic structure, PCI core will take care of
    required tasks and drivers should do only device-specific operations.
    
    Thus, there is no need to call the PCI helper functions like
    pci_enable_device, which is not recommended. Hence, removed.
    
    Compile-tested only.
    Signed-off-by: default avatarVaibhav Gupta <vaibhavgupta40@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    40c1b1ee
natsemi.c 93.3 KB