Commit 1163316e authored by Jean-Francois Dagenais's avatar Jean-Francois Dagenais Committed by Linus Walleij

gpio: adp5588 - add support for gpio names

which is already found in the common header for adp5588
Signed-off-by: default avatarJean-Francois Dagenais <jeff.dagenais@gmail.com>
Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent dc1b5ba1
...@@ -397,6 +397,7 @@ static int adp5588_gpio_probe(struct i2c_client *client, ...@@ -397,6 +397,7 @@ static int adp5588_gpio_probe(struct i2c_client *client,
gc->ngpio = ADP5588_MAXGPIO; gc->ngpio = ADP5588_MAXGPIO;
gc->label = client->name; gc->label = client->name;
gc->owner = THIS_MODULE; gc->owner = THIS_MODULE;
gc->names = pdata->names;
mutex_init(&dev->lock); mutex_init(&dev->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment