tg3: netdev_err() => dev_err()
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 5 Apr 2010 10:19:22 +0000 (10:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Apr 2010 10:58:00 +0000 (03:58 -0700)
commitab96b241fd82ec8d546684ab6e29b6530976780a
tree29083d52cf9e6a725e36614e0c39f32657630012
parent2445e461ce8c5a2316ed4c8a45cd2d0b6a366310
tg3: netdev_err() => dev_err()

Some uses of netdev_err() happen before the device has been registered.
This will cause the messages to be prepended with "(unregistered
net_device)" strings.  We can clean up the message by using dev_err()
instead.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c