tg3: Match power source to driver state
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 13 Jul 2011 09:27:33 +0000 (09:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 15:41:59 +0000 (08:41 -0700)
commitcd0d7228b4f0279f219bc555fa0192dc072d79cd
tree6eb50748e316ea6e806dd454552dedc8cb31cf7e
parent3a1e19d383c7b91c8af52e8938ab60c40e3d26b3
tg3: Match power source to driver state

Now that the driver state (and power source) is being more intensely
scrutinized, we need to make sure it is correct 100% of the time.  This
patch finds and fixes all dangling power state transitions.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c