smsc95xx: check return code from control messages
authorSteve Glendinning <steve.glendinning@shawell.net>
Fri, 28 Sep 2012 00:07:09 +0000 (00:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2012 22:34:57 +0000 (18:34 -0400)
This patch adds additional checks of the values returned by
smsc95xx_(read|write)_reg, and wraps their common patterns
in macros.

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

No differences found