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:
Родитель
dc1b5ba150
Коммит
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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче