diff options
author | Jean-Francois Dagenais <jeff.dagenais@gmail.com> | 2014-02-10 12:24:05 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-13 07:52:44 -0500 |
commit | 1163316e52e3cbcca29547a948fee72056708b62 (patch) | |
tree | b65c952782585e2142bd3364abac7bb51c9c8caf /drivers/gpio | |
parent | dc1b5ba150732738f905b277ad7317b188ce09e9 (diff) |
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-adp5588.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c index 7d3c8d942ead..d974020b78bb 100644 --- a/drivers/gpio/gpio-adp5588.c +++ b/drivers/gpio/gpio-adp5588.c | |||
@@ -397,6 +397,7 @@ static int adp5588_gpio_probe(struct i2c_client *client, | |||
397 | gc->ngpio = ADP5588_MAXGPIO; | 397 | gc->ngpio = ADP5588_MAXGPIO; |
398 | gc->label = client->name; | 398 | gc->label = client->name; |
399 | gc->owner = THIS_MODULE; | 399 | gc->owner = THIS_MODULE; |
400 | gc->names = pdata->names; | ||
400 | 401 | ||
401 | mutex_init(&dev->lock); | 402 | mutex_init(&dev->lock); |
402 | 403 | ||