Skip to content

Commit

Permalink
smsc911x: Use pr_fmt, netdev_<level>, and netif_<level>
Browse files Browse the repository at this point in the history
Use the more common/verbose logging styles.

Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Remove smsc911x prefixes from format strings.
Rename SMSC_WARNING to SMSC_WARN.
Remove DPRINTK macro.
Use netif_<level> in SMSC_<level> macros.
Convert NETIF_MSG_<foo> uses to lower case.
Add no_printk verification in non-debug uses.
Add pdata to SMSC_<level> uses to avoid hidden variable uses.
Convert printks to netdev_<level> as appropriate.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
JoePerches authored and davem330 committed Mar 31, 2011
1 parent e8c37c8 commit dffc6b2
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 159 deletions.
Loading

0 comments on commit dffc6b2

Please sign in to comment.