diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-04-03 12:11:26 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-04-04 17:49:59 +0200 |
commit | ca257b9e2d807ab6cb2678ecc7b74aaf4651f597 (patch) | |
tree | 51f5afb489f4e75fbb6d55b4196c52ac9a7cb409 /drivers/net/can | |
parent | can: ifi: use correct register to read rx status (diff) | |
download | linux-ca257b9e2d807ab6cb2678ecc7b74aaf4651f597.tar.xz linux-ca257b9e2d807ab6cb2678ecc7b74aaf4651f597.zip |
can: rcar_can: Do not print virtual addresses
During probe, the rcar_can driver prints:
rcar_can e6e80000.can: device registered (regs @ e08bc000, IRQ76)
The "regs" value is a virtual address, exposing internal information,
hence stop printing it. The (useful) physical address is already
printed as part of the device name.
Fixes: fd1159318e55e901 ("can: add Renesas R-Car CAN driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/rcar/rcar_can.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/can/rcar/rcar_can.c b/drivers/net/can/rcar/rcar_can.c index caed4e6960f8..11662f479e76 100644 --- a/drivers/net/can/rcar/rcar_can.c +++ b/drivers/net/can/rcar/rcar_can.c @@ -826,8 +826,7 @@ static int rcar_can_probe(struct platform_device *pdev) devm_can_led_init(ndev); - dev_info(&pdev->dev, "device registered (regs @ %p, IRQ%d)\n", - priv->regs, ndev->irq); + dev_info(&pdev->dev, "device registered (IRQ%d)\n", ndev->irq); return 0; fail_candev: |