Home
last modified time | relevance | path

Searched hist:"2 f05c19d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Dmediatek-cpufreq.c2f05c19d Fri Oct 30 20:18:54 CDT 2020 Qinglang Miao <miaoqinglang@huawei.com> cpufreq: mediatek: add missing platform_driver_unregister() on error in mtk_cpufreq_driver_init

Add the missing platform_driver_unregister() before return from
mtk_cpufreq_driver_init in the error handling case when failed
to register mtk-cpufreq platform device

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>