mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
gpio: adp5588 - add support for gpio names
which is already found in the common header for adp5588 Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user