From: Henrique de Moraes Holschuh Date: Tue, 25 Sep 2007 09:38:03 +0000 (-0300) Subject: ACPI: thinkpad-acpi: use a separate platform device for hwmon and name it (v2) X-Git-Tag: v2.6.24-rc1~135^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fd400297978a2cf7a74344fb22020e9479b4f69;p=pandora-kernel.git 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 Cc: Jean Delvare Signed-off-by: Len Brown --- Reading git-diff-tree failed