mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branches 'acpi-video' and 'acpi-cppc'
* acpi-video: ACPI / video: only register backlight for LCD device ACPI / video: Add a quirk to force acpi-video backlight on Dell XPS L421X * acpi-cppc: cpufreq: CPPC: Delete an unnecessary check before the function call kfree()
This commit is contained in:
commit
3930f660b4
3 changed files with 76 additions and 14 deletions
|
|
@ -166,8 +166,7 @@ static int __init cppc_cpufreq_init(void)
|
|||
|
||||
out:
|
||||
for_each_possible_cpu(i)
|
||||
if (all_cpu_data[i])
|
||||
kfree(all_cpu_data[i]);
|
||||
kfree(all_cpu_data[i]);
|
||||
|
||||
kfree(all_cpu_data);
|
||||
return -ENODEV;
|
||||
|
|
|
|||
Loading…
Reference in a new issue