Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hwmon: (gpio-fan) Localize platform data | Linus Walleij | 2017-10-29 | 1 | -36/+0 |
| | | | | | | | | | | | | | There is not a single user of the platform data header in <linux/gpio-fan.h>. We can conclude that all current users are probing from the device tree, so start simplifying the code by pulling the header into the driver. Convert "unsigned" to "unsigned int" in the process to make checkpatch happy. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> | ||||
* | hwmon: add generic GPIO fan driver | Simon Guinot | 2010-10-25 | 1 | -0/+36 |
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> |