diff mbox series

[4/6] clocksource/drivers/imx-tpm: Fix typo of clock name

Message ID 1522760432-32048-4-git-send-email-daniel.lezcano@linaro.org
State Accepted
Commit 16328e7bd428937f557a984d8b3378387c17a930
Headers show
Series [1/6] dt-binding: timer: document NPCM7xx timer DT bindings | expand

Commit Message

Daniel Lezcano April 3, 2018, 1 p.m. UTC
From: Anson Huang <Anson.Huang@nxp.com>


The clock name should be ipg instead of igp.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 drivers/clocksource/timer-imx-tpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/timer-imx-tpm.c
index 21bffdc..3f97d49 100644
--- a/drivers/clocksource/timer-imx-tpm.c
+++ b/drivers/clocksource/timer-imx-tpm.c
@@ -179,7 +179,7 @@  static int __init tpm_timer_init(struct device_node *np)
 	ipg = of_clk_get_by_name(np, "ipg");
 	per = of_clk_get_by_name(np, "per");
 	if (IS_ERR(ipg) || IS_ERR(per)) {
-		pr_err("tpm: failed to get igp or per clk\n");
+		pr_err("tpm: failed to get ipg or per clk\n");
 		ret = -ENODEV;
 		goto err_clk_get;
 	}