commit | 769ea6d89d5b915415a95432ff102c0aaf65e916 | [log] [tgz] |
---|---|---|
author | Steve Glendinning <steve.glendinning@shawell.net> | Fri Sep 28 00:07:09 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 28 18:34:57 2012 -0400 |
tree | 7e6ce819f28f5b66b7a491eceea2ed97f0c5db45 | |
parent | 4436761b63364201934d5511bb1199bee438345b [diff] |
smsc95xx: check return code from control messages 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>