Skip to content

Commit

Permalink
smsc95xx: check return code from control messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steve Glendinning authored and David S. Miller committed Sep 28, 2012
1 parent 4436761 commit 769ea6d
Showing 1 changed file with 148 additions and 183 deletions.
Loading

0 comments on commit 769ea6d

Please sign in to comment.