linux-stable/tools/power
Lv Zheng 60438d9a1e tools/power/acpi: close file only if it is open
The logic on the test for a valid fd to close is incorrect.
This was just a mistake and was pointed out by Colin Ian King.

Link: https://patchwork.kernel.org/patch/8620201/
Original-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-04-09 03:08:40 +02:00
..
acpi tools/power/acpi: close file only if it is open 2016-04-09 03:08:40 +02:00
cpupower cpupower: Fix build error in cpufreq-info 2016-01-19 01:17:23 +01:00
x86 Power management and ACPI material for v4.6-rc1, part 1 2016-03-16 14:10:53 -07:00