commit | c3eb7a771dcd2b27c02f4711545ac6785f66afc5 | [log] [tgz] |
---|---|---|
author | Yijing Wang <wangyijing@huawei.com> | Wed Sep 11 10:07:00 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 13 20:10:41 2013 -0400 |
tree | e17abda50eb75e2f92c9698874679b3781bf96de | |
parent | 922bbe88c1ae6903f9a628c2fac2db81748527d8 [diff] |
alx: remove redundant D0 power state set Pci_enable_device_mem() will set device power state to D0, so it's no need to do it again in alx_probe(). Also remove redundant PM Cap find code, because pci core has been saved the pci device pm cap value. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>