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:
Rafael J. Wysocki 2015-11-07 01:30:22 +01:00
3 changed files with 76 additions and 14 deletions

View file

@ -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;