bnx2x: Rework power state handling code
authorVladislav Zolotarov <vladz@broadcom.com>
Mon, 19 Apr 2010 01:14:49 +0000 (01:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2010 20:17:11 +0000 (13:17 -0700)
commitd3dbfee0d5ee4690824cbc5685bc9fe47a12bb8b
treed4d76caef114b9c4291c3929b41e3552425d84f3
parent8eb5a20ccc67d85d52ead88fb263eb28814ca2b4
bnx2x: Rework power state handling code

Move "don't shut down the power" logic into bnx2x_set_power_state() to make the code cleaner.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c