aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio-fan.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-10-29hwmon: (gpio-fan) Localize platform dataLinus Walleij1-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>
2010-10-25hwmon: add generic GPIO fan driverSimon Guinot1-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>