]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit6503e5df08008b9a47022b5e9ebba658c8fa69af
tree8ef36d1b85d2a03ac9e61f5074d717b67f9259ba
parentd2f8d7ee1a9b4650b4e43325b321801264f7c37a
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