mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
gpio: adp5588 - add support for gpio names
which is already found in the common header for adp5588 Signed-off-by: Jean-Francois Dagenais <[email protected]> Acked-by: Michael Hennerich <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
committed by
Linus Walleij
parent
dc1b5ba150
commit
1163316e52
@@ -397,6 +397,7 @@ static int adp5588_gpio_probe(struct i2c_client *client,
|
||||
gc->ngpio = ADP5588_MAXGPIO;
|
||||
gc->label = client->name;
|
||||
gc->owner = THIS_MODULE;
|
||||
gc->names = pdata->names;
|
||||
|
||||
mutex_init(&dev->lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user