cpufreq: simplified goto out in cpufreq_register_driver()
authorPankaj Gupta <Pankaj.Gupta@spreadtrum.com>
Mon, 16 May 2016 11:07:19 +0000 (11:07 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 May 2016 00:34:41 +0000 (02:34 +0200)
commit3834abb4e64483af7af7500e54c0a5f957a52b1b
treeb1eddff119d39a5f301d39c1ff07be18e1d523fb
parent45482c703b8c7e86e339e92f186cadd9a735fd0e
cpufreq: simplified goto out in cpufreq_register_driver()

simplified goto out in cpufreq_register_driver for increasing
code readability

Signed-off-by: Pankaj Gupta <pankaj.gupta@spreadtrum.com>
Signed-off-by: Sanjeev Yadav <sanjeev.yadav@spreadtrum.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c