Skip to content

Commit 1163316

Browse files
jeff-dagenaislinusw
authored andcommitted
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>
1 parent dc1b5ba commit 1163316

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpio/gpio-adp5588.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ static int adp5588_gpio_probe(struct i2c_client *client,
397397
gc->ngpio = ADP5588_MAXGPIO;
398398
gc->label = client->name;
399399
gc->owner = THIS_MODULE;
400+
gc->names = pdata->names;
400401

401402
mutex_init(&dev->lock);
402403

0 commit comments

Comments
 (0)