e1000e: Make watchdog use delayed work
authorDetlev Casanova <detlev.casanova@gmail.com>
Sun, 23 Jun 2019 03:14:37 +0000 (23:14 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 28 Jun 2019 23:00:24 +0000 (16:00 -0700)
commit59653e6497d16f7ac1d9db088f3959f57ee8c3db
treef877ae44d048c5745c922f5973c8828a9892a506
parent1d8d80b4e4ff641eefa5250cba324dfa5861a9f1
e1000e: Make watchdog use delayed work

Use delayed work instead of timers to run the watchdog of the e1000e
driver.

Simplify the code with one less middle function.

Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/netdev.c