cpufreq: powernv: Free 'chips' on module exit
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Tue, 2 Feb 2016 19:41:37 +0000 (01:11 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 5 Feb 2016 01:38:01 +0000 (02:38 +0100)
commit86622cb8c57abb05fe95bea3a068949c0ca79fc3
treed8786d311e6b5e5b2d02f8a370d94ee408a4ac2e
parentde1df26b7cef702a32ae876ed45c1112f523df48
cpufreq: powernv: Free 'chips' on module exit

This will free the dynamically allocated memory of 'chips' on
module exit.

Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/powernv-cpufreq.c