summaryrefslogtreecommitdiff
path: root/scripts/bin2c.c
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.brandewie@gmail.com>2013-03-05 14:15:27 -0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-03-06 23:34:58 +0100
commit907cc908108b16ae87b7165be992511c968159f0 (patch)
treedb9bf7f809c64ccb6678878ad6b828fef2d81395 /scripts/bin2c.c
parent37530f2bda039774bd65aea14cc1d1dd26a82b9e (diff)
downloadlwn-907cc908108b16ae87b7165be992511c968159f0.tar.gz
lwn-907cc908108b16ae87b7165be992511c968159f0.zip
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 <konrad.wilk@oracle.com> Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions