Commit b3371600 authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Rafael J. Wysocki

cpufreq: mvebu: Free the clock reference in the normal path

In case of error the clock reference was freed but not in normal path
once it was nor more used. This patch fixes it.
Signed-off-by: default avatarGregory CLEMENT <>
Acked-by: default avatarViresh Kumar <>
Signed-off-by: default avatarRafael J. Wysocki <>
parent 16630642
......@@ -99,6 +99,7 @@ static int __init armada_xp_pmsu_cpufreq_init(void)
if (ret)
dev_err(cpu_dev, "%s: failed to mark OPPs as shared: %d\n",
__func__, ret);
platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment