gpio: aspeed: Remove reference to clock name in debounce warning message
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 8 Aug 2017 06:07:36 +0000 (15:37 +0930)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Aug 2017 09:26:08 +0000 (11:26 +0200)
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: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-aspeed.c

index 4ca436e..bfc5399 100644 (file)
@@ -834,7 +834,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev)
        gpio->clk = of_clk_get(pdev->dev.of_node, 0);
        if (IS_ERR(gpio->clk)) {
                dev_warn(&pdev->dev,
-                               "No HPLL clock phandle provided, debouncing disabled\n");
+                               "Failed to get clock from devicetree, debouncing disabled\n");
                gpio->clk = NULL;
        }