]> err.no Git - linux-2.6/commit
ACPI: thinkpad-acpi: use a separate platform device for hwmon and name it (v2)
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 25 Sep 2007 09:38:03 +0000 (06:38 -0300)
committerLen Brown <len.brown@intel.com>
Tue, 25 Sep 2007 19:21:53 +0000 (15:21 -0400)
commit7fd400297978a2cf7a74344fb22020e9479b4f69
treeadac241038f638b9c73ca2513caa4f13bdcd48f5
parent3e5ce914bd17335ca74a7c7b06a776c6be6ca434
ACPI: thinkpad-acpi: use a separate platform device for hwmon and name it (v2)

Use a separate platform device and driver ("thinkpad_hwmon") to attach
hwmon attributes and class, and add a name attribute of "thinkpad" to
it, which defines the hwmon device name for libsensors4.

This makes thinkpad-acpi compatible with libsensors4 from lm-sensors, and
the platform driver and device split will make it much easier to separate
hwmon functionality into its own module later on.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/thinkpad-acpi.txt
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h