From: Alex Murray Date: Thu, 27 May 2010 17:58:54 +0000 (+0200) Subject: hwmon: (applesmc) Add temperature sensor labels to sysfs interface X-Git-Tag: v2.6.35-rc1~33^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa5575cff92eb43f467b9b00468d70d073e8b3d2;p=pandora-kernel.git hwmon: (applesmc) Add temperature sensor labels to sysfs interface The Apple SMC uses a systematic labeling scheme for the hardware temperature sensors. This scheme is currently hidden from userland. Since the sensor set, and consequently the numbering, differs between models, an extensive database of configurations is required for an application such as fan control. This patch adds the SMC labels to the hwmon sysfs interface, allowing applications to use the sensors more intelligibly. [rydberg@euromail.se: fixed error handling] Signed-off-by: Alex Murray Signed-off-by: Henrik Rydberg Signed-off-by: Jean Delvare --- Reading git-diff-tree failed