gpio: bcm281xx: Don't print addresses of GPIO area in probe()
authorMarkus Mayer <markus.mayer@linaro.org>
Fri, 18 Oct 2013 18:50:03 +0000 (11:50 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 18 Oct 2013 19:44:40 +0000 (21:44 +0200)
The physical address of the GPIO memory address is already printed
implicitly by dev_info() as part of the device name. The virtual
address doesn't add any value. In addition, printing a resource_size_t
with %x lead to a compiler warning on some platforms.

Signed-off-by: Markus Mayer <markus.mayer@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c

index 58188bafba430f9c3a228a9c5ff2b13a0dab386e..b3d0f8163277e271846b2a583ea7efcf377b2a7f 100644 (file)
@@ -587,8 +587,7 @@ static int bcm_kona_gpio_probe(struct platform_device *pdev)
                }
        }
 
-       dev_info(&pdev->dev, "Setting up Kona GPIO at 0x%p (phys %#x)\n",
-                kona_gpio->reg_base, res->start);
+       dev_info(&pdev->dev, "Setting up Kona GPIO\n");
 
        bcm_kona_gpio_reset(kona_gpio);