ACPI / thermal: Fix wrong variable usage in debug statement
authorZhihui Zhang <zzhsuny@gmail.com>
Sat, 29 Mar 2014 13:25:47 +0000 (09:25 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Apr 2014 12:00:49 +0000 (14:00 +0200)
commitee17fdf24bf815650c87b3bb35fbab42681523a8
tree9cc3a461e9bb79cb2be67018f30131da7e4a1e48
parent70f6c087573eeb406252ff8d98f511eb5f71496e
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>
drivers/acpi/thermal.c