提交 23b4faa9 编写于 作者: M Markus Mayer 提交者: Linus Walleij

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: NMarkus Mayer <markus.mayer@linaro.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 df231f28
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册