]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/ks*: Use netdev_<level>, netif_<level> and pr_<level>
authorJoe Perches <joe@perches.com>
Sat, 27 Feb 2010 14:43:51 +0000 (14:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:23:25 +0000 (21:23 -0700)
commit44b94af14c98e942b3547add9e59c4d271323fbf
tree9f81abd6d5d494230a4d23b1a27f399f5832f9e7
parente2e1f84a6093822898377615a11d5db250a39a33
drivers/net/ks*: Use netdev_<level>, netif_<level> and pr_<level>

I'm not sure this is correct.

It changes logging macros from:
dev_<level>(&ks->spidev->dev,
to
netdev_<level>(ks->netdev,

Comments?

Use netdev_<level>
Use netif_<level>
Use pr_<level>
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Add missing line to message in ks8851_remove
Change kmalloc/memset(,0) to kzalloc
Remove ks_<level> macros
Consolidation code into set_media_state

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ks8842.c
drivers/net/ks8851.c
drivers/net/ks8851_mll.c
drivers/net/ksz884x.c