[RESEND,2/2] gpio: aspeed: Remove reference to clock name in debounce warning message

Submitted by Andrew Jeffery on Aug. 8, 2017, 6:16 a.m.

Details

Message ID 20170808061634.11857-3-andrew@aj.id.au
State New
Headers show

Commit Message

Andrew Jeffery Aug. 8, 2017, 6:16 a.m.
HPLL was in fact not the clock we need. Remove description of which
clock to avoid any further error.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 drivers/gpio/gpio-aspeed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joel Stanley Aug. 11, 2017, 3 a.m.
On Tue, Aug 8, 2017 at 3:46 PM, Andrew Jeffery <andrew@aj.id.au> wrote:
> HPLL was in fact not the clock we need. Remove description of which
> clock to avoid any further error.
>
> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

Acked-by: Joel Stanley <joel@jms.id.au>
Linus Walleij Aug. 15, 2017, 9:26 a.m.
On Tue, Aug 8, 2017 at 8:16 AM, Andrew Jeffery <andrew@aj.id.au> wrote:

> HPLL was in fact not the clock we need. Remove description of which
> clock to avoid any further error.
>
> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>

Patch applied with Joel's ACK.

Yours,
Linus Walleij

Patch hide | download patch | download mbox

diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c
index 4ca436e66bdb..bfc53995064a 100644
--- a/drivers/gpio/gpio-aspeed.c
+++ b/drivers/gpio/gpio-aspeed.c
@@ -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;
 	}