summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorMarkus Mayer <markus.mayer@linaro.org>2013-10-18 11:50:03 -0700
committerLinus Walleij <linus.walleij@linaro.org>2013-10-18 21:44:40 +0200
commit23b4faa9a36257e75dade0f2945bc3e487e6f463 (patch)
tree1d08dbc1a36377b18995d3c3cd681f2e7d9c80d5 /drivers/gpio
parentdf231f280f0051e8de05a1f31c13b2ce2a761c3f (diff)
downloadlinux-23b4faa9a36257e75dade0f2945bc3e487e6f463.tar.gz
linux-23b4faa9a36257e75dade0f2945bc3e487e6f463.tar.bz2
linux-23b4faa9a36257e75dade0f2945bc3e487e6f463.zip
gpio: bcm281xx: Don't print addresses of GPIO area in probe()
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-bcm-kona.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c
index 58188bafba43..b3d0f8163277 100644
--- a/drivers/gpio/gpio-bcm-kona.c
+++ b/drivers/gpio/gpio-bcm-kona.c
@@ -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);