]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit458d80e34b0356f99cef23dcc7c537774999eed3
tree0a0b70f5fa7acc632fe5dc7b863a7f5078ced460
parentdcae3028357f04233b4ad0199b76fc9d63130e91
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