diff options
author | Zhihui Zhang | 2014-03-29 14:25:47 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2014-04-07 14:00:49 +0200 |
commit | ee17fdf24bf815650c87b3bb35fbab42681523a8 (patch) | |
tree | 9cc3a461e9bb79cb2be67018f30131da7e4a1e48 /drivers/acpi/thermal.c | |
parent | Merge tag 'pm+acpi-3.15-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
download | kernel-qcow2-linux-ee17fdf24bf815650c87b3bb35fbab42681523a8.tar.gz kernel-qcow2-linux-ee17fdf24bf815650c87b3bb35fbab42681523a8.tar.xz kernel-qcow2-linux-ee17fdf24bf815650c87b3bb35fbab42681523a8.zip |
ACPI / thermal: Fix wrong variable usage in debug statement
A debug statement in acpi_thermal_trips_update() uses a wrong trip
point (tz->trips.critical instead of tz->trips.hot) to get the
temperature value from. Fix that.
Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r-- | drivers/acpi/thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 964068553334..c1e31a41f949 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c @@ -344,7 +344,7 @@ static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) tz->trips.hot.flags.valid = 1; ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Found hot threshold [%lu]\n", - tz->trips.critical.temperature)); + tz->trips.hot.temperature)); } } |