Skip to content

Commit

Permalink
gpio: adp5588 - add support for gpio names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean-Francois Dagenais authored and Linus Walleij committed Feb 13, 2014
1 parent dc1b5ba commit 1163316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/gpio-adp5588.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1163316

Please sign in to comment.