be2net: refactor adapter resource initialzation sequence into be_resume()
authorKalesh AP <kalesh.purayil@emulex.com>
Mon, 23 Feb 2015 09:20:14 +0000 (04:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2015 20:08:32 +0000 (15:08 -0500)
commit484d76fd5154d7d7dcc8e5928a947deb9cc0b94c
tree95c0eba6ebfccb1e230d7323eec1bbb5caa3854d
parent9fa465c0ce0d99f098195d7b0a550aeb1b2a8c44
be2net: refactor adapter resource initialzation sequence into be_resume()

Most of the adapter initialisation sequences performed in be_resume(),
be_eeh_resume() and be_err_recover() are same. Renamed be_resume() to
be_pci_resume() and moved the common code to a new routine be_resume() to
avoid code duplication.

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