diff options
| author | Qinglang Miao <miaoqinglang@huawei.com> | 2020-10-31 09:18:54 +0800 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2020-12-07 13:02:37 +0530 |
| commit | 2f05c19d9ef4f5a42634f83bdb0db596ffc0dd30 (patch) | |
| tree | 5887c0972b3e72805d0883ee8f69235ccaf0fae8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cpufreq: tegra194: get consistent cpuinfo_cur_freq (diff) | |
| download | linux-2f05c19d9ef4f5a42634f83bdb0db596ffc0dd30.tar.gz linux-2f05c19d9ef4f5a42634f83bdb0db596ffc0dd30.zip | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
