hwmon: (applesmc) Dynamic creation of temperature files
authorHenrik Rydberg <rydberg@euromail.se>
Wed, 10 Nov 2010 10:58:04 +0000 (10:58 +0000)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 8 Jan 2011 18:55:39 +0000 (10:55 -0800)
The current driver creates temperature files based on a list
of temperature keys given per device. Apart from slow adaption
to new machine models, the number of sensors also depends on
the number of processors. This patch looks up the temperature
keys dynamically, thereby supporting all models.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/applesmc.c

Simple merge