be2net: use a wrapper to schedule and cancel error detection task
authorSathya Perla <sathya.perla@emulex.com>
Mon, 23 Feb 2015 09:20:11 +0000 (04:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2015 20:08:31 +0000 (15:08 -0500)
commiteb7dd46c634fa5b2f2039791bd2e79343318d6e5
tree96ee933cfca57bbe14b554e86d79e8b8f0fd24ce
parentca3de6b29d09585bdb7b5af2e12f815468120184
be2net: use a wrapper to schedule and cancel error detection task

Also rename func_recovery_work/task to err_detection_work/task as error
detection is the primary goal of this task while recovery is not guaranteed.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c