projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2518c
)
can: sja1000: convert printk to use netdev API
author
Florian Vaussard
<florian.vaussard@epfl.ch>
Fri, 31 Jan 2014 13:34:33 +0000
(14:34 +0100)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 4 Feb 2014 09:04:21 +0000
(10:04 +0100)
Use netdev_* where applicable.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/sja1000/sja1000.c
b/drivers/net/can/sja1000/sja1000.c
index f17c3018b7c7ffb3f7d75785c3ddd2218b0f3f79..55cce4737518ae0f11270caeacaa70f88512f165 100644
(file)
--- a/
drivers/net/can/sja1000/sja1000.c
+++ b/
drivers/net/can/sja1000/sja1000.c
@@
-106,8
+106,7
@@
static int sja1000_probe_chip(struct net_device *dev)
struct sja1000_priv *priv = netdev_priv(dev);
if (priv->reg_base && sja1000_is_absent(priv)) {
- printk(KERN_INFO "%s: probing @0x%lX failed\n",
- DRV_NAME, dev->base_addr);
+ netdev_err(dev, "probing failed\n");
return 0;
}
return -1;