提交 1163316e 编写于 作者: J Jean-Francois Dagenais 提交者: Linus Walleij

gpio: adp5588 - add support for gpio names

which is already found in the common header for adp5588
Signed-off-by: NJean-Francois Dagenais <jeff.dagenais@gmail.com>
Acked-by: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 dc1b5ba1
...@@ -397,6 +397,7 @@ static int adp5588_gpio_probe(struct i2c_client *client, ...@@ -397,6 +397,7 @@ static int adp5588_gpio_probe(struct i2c_client *client,
gc->ngpio = ADP5588_MAXGPIO; gc->ngpio = ADP5588_MAXGPIO;
gc->label = client->name; gc->label = client->name;
gc->owner = THIS_MODULE; gc->owner = THIS_MODULE;
gc->names = pdata->names;
mutex_init(&dev->lock); mutex_init(&dev->lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册