summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-03-28 11:22:36 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2018-03-30 22:44:10 +0200
commit16328e7bd428937f557a984d8b3378387c17a930 (patch)
tree5287b0c6779471e8b91152c7bdd9cfeb72b3290a /drivers/clocksource
parentcc01456a0d9a3cbfec85cf23f2ce53323e8fc973 (diff)
downloadop-kernel-dev-16328e7bd428937f557a984d8b3378387c17a930.zip
op-kernel-dev-16328e7bd428937f557a984d8b3378387c17a930.tar.gz
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 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;
}
OpenPOWER on IntegriCloud