diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-09-11 10:07:00 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-13 20:10:41 -0400 |
commit | c3eb7a771dcd2b27c02f4711545ac6785f66afc5 (patch) | |
tree | e17abda50eb75e2f92c9698874679b3781bf96de /drivers/net/phy | |
parent | 922bbe88c1ae6903f9a628c2fac2db81748527d8 (diff) | |
download | op-kernel-dev-c3eb7a771dcd2b27c02f4711545ac6785f66afc5.zip op-kernel-dev-c3eb7a771dcd2b27c02f4711545ac6785f66afc5.tar.gz |
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>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions