From: Dirk Brandewie Date: Tue, 5 Mar 2013 22:15:27 +0000 (-0800) Subject: cpufreq / intel_pstate: Fix intel_pstate_init() error path X-Git-Tag: v3.9-rc2~16^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=907cc908108b16ae87b7165be992511c968159f0;p=pandora-kernel.git cpufreq / intel_pstate: Fix intel_pstate_init() error path If cpufreq_register_driver() fails just free memory that has been allocated and return. intel_pstate_exit() function is removed since we are built-in only now there is no reason for a module exit procedure. Reported-by: Konrad Rzeszutek Wilk Signed-off-by: Dirk Brandewie Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed