diff options
author | Qinglang Miao <miaoqinglang@huawei.com> | 2020-10-31 04:18:54 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2020-12-07 10:32:37 +0300 |
commit | 2f05c19d9ef4f5a42634f83bdb0db596ffc0dd30 (patch) | |
tree | 5887c0972b3e72805d0883ee8f69235ccaf0fae8 /drivers/cdrom | |
parent | 68b9cd7270f0191bd51b635f8f4778951ee3811a (diff) | |
download | linux-2f05c19d9ef4f5a42634f83bdb0db596ffc0dd30.tar.xz |
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>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions