Input: adp5588 - add support for gpio names
Signed-off-by: Jean-François Dagenais <jeff.dagenais@gmail.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
committed by
Dmitry Torokhov
parent
f77621cc64
commit
d0a3457d38
@@ -157,6 +157,7 @@ struct i2c_client; /* forward declaration */
|
||||
|
||||
struct adp5588_gpio_platform_data {
|
||||
int gpio_start; /* GPIO Chip base # */
|
||||
const char *const *names;
|
||||
unsigned irq_base; /* interrupt base # */
|
||||
unsigned pullup_dis_mask; /* Pull-Up Disable Mask */
|
||||
int (*setup)(struct i2c_client *client,
|
||||
|
||||
Reference in New Issue
Block a user