smsc95xx: refactor entering suspend modes
authorSteve Glendinning <steve.glendinning@shawell.net>
Thu, 22 Nov 2012 08:05:25 +0000 (08:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Nov 2012 19:15:18 +0000 (14:15 -0500)
commit319b95b5f47e2ee67782f39fbb2c7fbd2c60c631
treea52259dc09bd6ba8a15d45893d3973e9b0cc240d
parente5e3af8348945b7c0b96e720c35309c79c24e98f
smsc95xx: refactor entering suspend modes

This patch splits out the logic for entering suspend modes
to separate functions, to reduce the complexity of the
smsc95xx_suspend function.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c