Commit 754c0458 authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Linus Walleij

gpio: aspeed: Remove reference to clock name in debounce warning message

HPLL is in fact not the clock we need. Remove the description of which clock we
failed to find a phandle to in order to avoid any further error.
Signed-off-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Acked-by: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f8b89b57
...@@ -834,7 +834,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev) ...@@ -834,7 +834,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev)
gpio->clk = of_clk_get(pdev->dev.of_node, 0); gpio->clk = of_clk_get(pdev->dev.of_node, 0);
if (IS_ERR(gpio->clk)) { if (IS_ERR(gpio->clk)) {
dev_warn(&pdev->dev, dev_warn(&pdev->dev,
"No HPLL clock phandle provided, debouncing disabled\n"); "Failed to get clock from devicetree, debouncing disabled\n");
gpio->clk = NULL; gpio->clk = NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment