From: Jean-Francois Dagenais Date: Mon, 10 Feb 2014 17:24:05 +0000 (-0500) Subject: gpio: adp5588 - add support for gpio names X-Git-Tag: next-20140306~15^2^2~15 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1163316e52e3cbcca29547a948fee72056708b62;p=karo-tx-linux.git gpio: adp5588 - add support for gpio names which is already found in the common header for adp5588 Signed-off-by: Jean-Francois Dagenais Acked-by: Michael Hennerich Signed-off-by: Linus Walleij --- 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, gc->ngpio = ADP5588_MAXGPIO; gc->label = client->name; gc->owner = THIS_MODULE; + gc->names = pdata->names; mutex_init(&dev->lock);