]> git.baikalelectronics.ru Git - kernel.git/commit
tmspci: fix tr%d in printk
authorMeelis Roos <mroos@linux.ee>
Mon, 20 Sep 2010 21:19:03 +0000 (21:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 01:04:44 +0000 (18:04 -0700)
commit38143d4836c07b744be3fff02c791bbe4f353ff3
tree4b33a0eaffc598683216d36c5ac401696c4752db
parent6a5ca16cace8b3612919bb7d463a65f44a47025e
tmspci: fix tr%d in printk

tmspci driver uses dev->name before register_netdev() and so prints tr%d
in initialization messages. Fix it by using dev_info.

Found and tested on real hardware.

Signed-off-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/tmspci.c