commit | 9de382fddf18f673436f1058d822e1236a0b4c2a | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Oct 09 01:14:32 2017 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Oct 29 18:36:03 2017 -0700 |
tree | e44dc6b1313e9a0ffdb00820682edff03df3585c | |
parent | e99c2e5d6cde7f06dac0444b5edd6ed0d1abc431 [diff] |
hwmon: (gpio-fan) Convert to use GPIO descriptors This converts the GPIO fan driver to use GPIO descriptors. This way we avoid indirection since the gpiolib anyway just use descriptors inside, and we also get rid of explicit polarity handling: the descriptors internally knows if the line is active high or active low. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> [groeck: Line length] Signed-off-by: Guenter Roeck <linux@roeck-us.net>