diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-09-26 01:09:07 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-10-29 18:36:03 -0700 |
commit | a9b4c8afcd3d6c2b068e6ecf1a22ab26dd8c200e (patch) | |
tree | e63634771be0cf922289788402ea6f7eaf4ed3fa /drivers/hwmon/Kconfig | |
parent | 8c0eb9bc52fad2fec7a5ff40d5da85b74232f5de (diff) |
hwmon: (gpio-fan) Mandate OF_GPIO and cut pdata path
We have no users of platform data, we made platform data driver-local,
so cut all #ifdefs for the platform data case, and depend on the
Kconfig CONFIG_OF_GPIO symbol.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index fae8a8904c10..7ad017690e3a 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -552,6 +552,7 @@ config SENSORS_G762 config SENSORS_GPIO_FAN tristate "GPIO fan" + depends on OF_GPIO depends on GPIOLIB || COMPILE_TEST depends on THERMAL || THERMAL=n help |