igc: Refactor the igc_power_down_link()
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 8 Jun 2020 15:49:39 +0000 (18:49 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Jun 2020 01:21:53 +0000 (18:21 -0700)
commita0beb3c1b1acbe80a851a9892f72094ea27504be
tree0a0b70f5fa7acc632fe5dc7b863a7f5078ced460
parent725fa16d3622a3e9e21f37a4b79ce866afca5ef0
igc: Refactor the igc_power_down_link()

Currently the implementation of igc_power_down_link()
method was just calling igc_power_down_phy_copper_base()
method.
We can just call igc_power_down_phy_copper_base()
method directly.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c