hwmon: (ucd9000) Add gpio chip interface
authorChristopher Bostic <cbostic@linux.vnet.ibm.com>
Fri, 16 Mar 2018 21:22:05 +0000 (16:22 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 17 Mar 2018 01:52:04 +0000 (18:52 -0700)
commitca781fb7fd95ba90eda6936a27fc1e3202f99d6a
tree400582aaff06aa5bb395f401f5ab57ff891084d9
parent81820059a42848742dbabd4d606737093c84e260
hwmon: (ucd9000) Add gpio chip interface

Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.

Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ucd9000.c