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 13:52:44 +0100 |
commit | 1163316e52e3cbcca29547a948fee72056708b62 (patch) | |
tree | b65c952782585e2142bd3364abac7bb51c9c8caf | |
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>
-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 7d3c8d942ea..d974020b78b 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, gc->ngpio = ADP5588_MAXGPIO; gc->label = client->name; gc->owner = THIS_MODULE; + gc->names = pdata->names; mutex_init(&dev->lock); |