cpufreq: maple: Remove redundant code from maple_cpufreq_init()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 8 Apr 2019 10:16:10 +0000 (15:46 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 8 Apr 2019 10:45:10 +0000 (16:15 +0530)
commitc1d1090c3c7674c965552e22a65b29423aa4f090
tree7320cd58ed269ba06cb2cc4efde9bba43ede41ee
parent233298032803f2802fe99892d0de4ab653bfece4
cpufreq: maple: Remove redundant code from maple_cpufreq_init()

The success path and error path both look the same, don't duplicate the
code.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/maple-cpufreq.c