cpufreq: tegra186: Simplify probe return path
authorJon Hunter <jonathanh@nvidia.com>
Sun, 12 Jul 2020 10:06:45 +0000 (11:06 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 30 Jul 2020 05:27:48 +0000 (10:57 +0530)
commit02fd918097f998234c6e9c50c8afad73e7b946e4
tree3d70bf0ecd99fb925da748552501dd74d8066d92
parent4264e02d3e1865549952abe2b6d7c61a1e07ca62
cpufreq: tegra186: Simplify probe return path

We always put the reference to BPMP device on exit of the Tegra186
CPUFREQ driver and so there is no need to have separate exit paths
for success and failure. Therefore, simplify the probe return path
in the Tegra186 CPUFREQ driver by combining the success and failure
paths.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/tegra186-cpufreq.c