Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Markus Mayer and committed by
Linus Walleij
23b4faa9 df231f28

+1 -2
+1 -2
drivers/gpio/gpio-bcm-kona.c
··· 587 587 } 588 588 } 589 589 590 - dev_info(&pdev->dev, "Setting up Kona GPIO at 0x%p (phys %#x)\n", 591 - kona_gpio->reg_base, res->start); 590 + dev_info(&pdev->dev, "Setting up Kona GPIO\n"); 592 591 593 592 bcm_kona_gpio_reset(kona_gpio); 594 593