gpio: adp5588 - use "unsigned" for the setup and teardown callbacks
PATCH 1/2 gpio: adp5588 - use "unsigned" for the setup and teardown callbacks
to comply with the rest of the GPIO drivers.
--- include/linux/i2c/adp5588.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/i2c/adp5588.h +2 -2
@@ -161,10 +161,10 @@ struct adp5588_gpio_platform_data {unsigned irq_base;/* interrupt base # */ unsigned pullup_dis_mask;/* Pull-Up Disable Mask */ int (*setup)(struct i2c_client *client, -int gpio,unsigned ngpio, +unsigned gpio,unsigned ngpio,void *context);int (*teardown)(struct i2c_client *client, -int gpio,unsigned ngpio, +unsigned gpio,unsigned ngpio,void *context);void *context; };
Signature · 1 line
1.8.5.3
PATCH 2/2 gpio: adp5588 - add support for gpio names
which is already found in the common header for adp5588
--- drivers/gpio/gpio-adp5588.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-adp5588.c +1 -0
@@ -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);
Signature · 1 line
1.8.5.3
RE: [PATCH 2/2] gpio: adp5588 - add support for gpio names
-----Original Message-----
From: Jean-Francois Dagenais [mailto:[email protected]]
Sent: Montag, 10. Februar 2014 18:24
To: Hennerich, Michael; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; Jean-Francois Dagenais
Subject: [PATCH 2/2] gpio: adp5588 - add support for gpio names
which is already found in the common header for adp5588
--- drivers/gpio/gpio-adp5588.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-adp5588.c +1 -0
@@ -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);
--
1.8.5.3
Re: [PATCH 2/2] gpio: adp5588 - add support for gpio names
In reply to Jean-Francois DagenaisQuoted 3 lines · Jean-Francois Dagenais
which is already found in the common header for adp5588
Signed-off-by Jean-Francois Dagenais <[email protected]>
Patch applied with Michael's ACK.
Yours,
Linus Walleij
-----Original Message-----
From: Jean-Francois Dagenais [mailto:[email protected]]
Sent: Montag, 10. Februar 2014 18:24
To: Hennerich, Michael; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; Jean-Francois Dagenais
Subject: [PATCH 1/2] gpio: adp5588 - use "unsigned" for the setup and teardown callbacks
to comply with the rest of the GPIO drivers.
--- include/linux/i2c/adp5588.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/i2c/adp5588.h +2 -2
@@ -161,10 +161,10 @@ struct adp5588_gpio_platform_data {unsigned irq_base;/* interrupt base # */ unsigned pullup_dis_mask;/* Pull-Up Disable Mask */ int (*setup)(struct i2c_client *client, -int gpio,unsigned ngpio, +unsigned gpio,unsigned ngpio,void *context);int (*teardown)(struct i2c_client *client, -int gpio,unsigned ngpio, +unsigned gpio,unsigned ngpio,void *context);void *context; };
--
1.8.5.3
Quoted 3 lines · Jean-Francois Dagenais
to comply with the rest of the GPIO drivers.
Signed-off-by Jean-Francois Dagenais <[email protected]>
Patch applied with Michael's ACK.
Yours,
Linus Walleij