diff options
author | Alex Murray <murray.alex@gmail.com> | 2010-05-27 19:58:54 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-05-27 19:58:54 +0200 |
commit | fa5575cff92eb43f467b9b00468d70d073e8b3d2 (patch) | |
tree | f0ef51ed03fd78f45c2d1ea8e4bd5932a76b89b4 /drivers/hwmon/emc1403.c | |
parent | 405eaa1c1d045cdd872802fc515f638573984880 (diff) | |
download | op-kernel-dev-fa5575cff92eb43f467b9b00468d70d073e8b3d2.zip op-kernel-dev-fa5575cff92eb43f467b9b00468d70d073e8b3d2.tar.gz |
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 <murray.alex@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/emc1403.c')
0 files changed, 0 insertions, 0 deletions