We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f77621c commit d0a3457Copy full SHA for d0a3457
drivers/input/keyboard/adp5588-keys.c
@@ -197,6 +197,7 @@ static int __devinit adp5588_gpio_add(struct adp5588_kpad *kpad)
197
kpad->gc.base = gpio_data->gpio_start;
198
kpad->gc.label = kpad->client->name;
199
kpad->gc.owner = THIS_MODULE;
200
+ kpad->gc.names = gpio_data->names;
201
202
mutex_init(&kpad->gpio_lock);
203
include/linux/i2c/adp5588.h
@@ -157,6 +157,7 @@ struct i2c_client; /* forward declaration */
157
158
struct adp5588_gpio_platform_data {
159
int gpio_start; /* GPIO Chip base # */
160
+ const char *const *names;
161
unsigned irq_base; /* interrupt base # */
162
unsigned pullup_dis_mask; /* Pull-Up Disable Mask */
163
int (*setup)(struct i2c_client *client,
0 commit comments