hwmon: (ltc2992) Add support for GPIOs.
authorAlexandru Tachici <alexandru.tachici@analog.com>
Thu, 3 Dec 2020 07:11:54 +0000 (09:11 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 11 Dec 2020 15:42:27 +0000 (07:42 -0800)
commit9ca26df1ba25c362113d9bb7b08ca93e260ce3e8
tree6acd16da50938360735dec1d69d3a7ec7d7e41bd
parentb0bd407e94b036d597c6060d64c22094ff85b13c
hwmon: (ltc2992) Add support for GPIOs.

LTC2992 has 4 open-drain GPIOS. This patch exports to user
space the 4 GPIOs using the GPIO driver Linux API.

Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig
drivers/hwmon/ltc2992.c