summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-03-28 06:22:36 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2018-03-30 23:44:10 +0300
commit16328e7bd428937f557a984d8b3378387c17a930 (patch)
tree5287b0c6779471e8b91152c7bdd9cfeb72b3290a /drivers/clocksource
parentcc01456a0d9a3cbfec85cf23f2ce53323e8fc973 (diff)
downloadlinux-16328e7bd428937f557a984d8b3378387c17a930.tar.xz
clocksource/drivers/imx-tpm: Fix typo of clock name
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>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/timer-imx-tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/timer-imx-tpm.c
index 21bffdcb2f20..3f97d4985824 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;
}