# \[PATCH 2/2\] gpio: adp5588 - add support for gpio names

- From: Jean-François Dagenais \<hidden\>
- Date: 2012-01-09 19:15:37 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/01/8918676
- Thread: https://ratatoskr.run/linux-input/2012/01/8918677/t.md

```text
follows the commit in input, which already modified the
common header for adp5588

Signed-off-by: Jean-François Dagenais <redacted>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
---
 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 3525ad9..3122713 100644
--- a/drivers/gpio/gpio-adp5588.c
+++ b/drivers/gpio/gpio-adp5588.c
@@ -384,6 +384,7 @@ static int __devinit 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);
 
-- 
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
