summaryrefslogtreecommitdiffstats
path: root/include/linux/gpio-fan.h
Commit message (Collapse)AuthorAgeFilesLines
* hwmon: (gpio-fan) Localize platform dataLinus Walleij2017-10-291-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 driverSimon Guinot2010-10-251-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>
OpenPOWER on IntegriCloud