]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
hwmon: add generic GPIO fan driver
authorSimon Guinot <sguinot@lacie.com>
Thu, 21 Oct 2010 22:44:19 +0000 (00:44 +0200)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:37 +0000 (14:11 -0700)
This patch adds hwmon support for fans connected to GPIO lines.

Platform specific information such as GPIO pinout and speed conversion array
(rpm from/to GPIO value) are passed to the driver via platform_data.

Signed-off-by: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>

No differences found