public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI: Fixed wrong variable usage in thermal driver
@ 2014-03-29 13:25 Zhihui Zhang
  2014-04-08 12:32 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Zhihui Zhang @ 2014-03-29 13:25 UTC (permalink / raw)
  To: rui.zhang, lenb, rjw; +Cc: linux-acpi

Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com>
---
 drivers/acpi/thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 08626c8..6afe95b 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -338,7 +338,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));
 		}
 	}
 
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-08 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-29 13:25 [PATCH] ACPI: Fixed wrong variable usage in thermal driver Zhihui Zhang
2014-04-08 12:32 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox