commit | d6fe1360f42e86262153927986dea6502daff703 | [log] [tgz] |
---|---|---|
author | Simon Guinot <sguinot@lacie.com> | Fri Oct 22 00:44:19 2010 +0200 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Mon Oct 25 14:11:37 2010 -0700 |
tree | adaf8f6da75353dacc4d1d05ff4a042d6c9c0b11 | |
parent | 3247800676c4a04352cde72b9935b57ffc72ce15 [diff] |
hwmon: add generic GPIO fan driver 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>