mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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>
This commit is contained in:
parent
cc01456a0d
commit
16328e7bd4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user