can: m_can: Removed virtual address from print
authorMario Huettel <mario.huettel@gmx.net>
Sat, 8 Apr 2017 12:10:11 +0000 (14:10 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 25 Apr 2017 07:00:46 +0000 (09:00 +0200)
The virtual address of the device was printed. I removed it because it
leaks internal information.

Signed-off-by: Mario Huettel <mario.huettel@gmx.net>
Tested-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c

index ddcbe8bda55a30d4526264cbe14e2392ca21175c..a966ed5b1946d55d768970c72234929e04d88734 100644 (file)
@@ -1231,8 +1231,8 @@ static int m_can_plat_probe(struct platform_device *pdev)
 
        devm_can_led_init(dev);
 
-       dev_info(&pdev->dev, "%s device registered (regs=%p, irq=%d)\n",
-                KBUILD_MODNAME, priv->base, dev->irq);
+       dev_info(&pdev->dev, "%s device registered (irq=%d)\n",
+                KBUILD_MODNAME, dev->irq);
 
        return 0;