]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: use integers rather than strings for thermal values
authorMatthew Garrett <mjg59@srcf.ucam.org>
Thu, 27 Nov 2008 17:48:13 +0000 (17:48 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 20 Feb 2009 15:52:37 +0000 (10:52 -0500)
commit33743dc95b2724fff36a2ce01aac4bcd148527a8
tree8ef36d1b85d2a03ac9e61f5074d717b67f9259ba
parent036031e6cb98560dcf726c26f1bd528a9c9eef75
thermal: use integers rather than strings for thermal values

The thermal API currently uses strings to pass values to userspace. This
makes it difficult to use from within the kernel. Change the interface
to use integers and fix up the consumers.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/fan.c
drivers/acpi/processor_thermal.c
drivers/acpi/thermal.c
drivers/acpi/video.c
drivers/platform/x86/intel_menlow.c
drivers/thermal/thermal_sys.c
include/linux/thermal.h