cpufreq: imx6q: Fix error handling code
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 9 Apr 2017 07:33:52 +0000 (09:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Apr 2017 21:22:01 +0000 (23:22 +0200)
commiteafca851639038a7863910e7fac869f5c8bdfb9d
tree31675a0db4547513e9b451f862c4ae4d8d6667c9
parent5aa1599ff039a68a5c43e9aa74973f40b1065746
cpufreq: imx6q: Fix error handling code

According to the previous error handling code, it is likely that
'goto out_free_opp' is expected here in order to avoid a memory leak in
error handling path.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/imx6q-cpufreq.c