-----Original Message----- From: Jean-Francois Dagenais [mailto:jeff.dagenais@xxxxxxxxx] Sent: Montag, 10. Februar 2014 18:24 To: Hennerich, Michael; dmitry.torokhov@xxxxxxxxx; dtor@xxxxxxx; linus.walleij@xxxxxxxxxx; gnurou@xxxxxxxxx Cc: linux-gpio@xxxxxxxxxxxxxxx; linux-input@xxxxxxxxxxxxxxx; 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. Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@xxxxxxxxx> Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx> --- include/linux/i2c/adp5588.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/i2c/adp5588.h b/include/linux/i2c/adp5588.h index d8341cb..c215304 100644 --- a/include/linux/i2c/adp5588.h +++ b/include/linux/i2c/adp5588.h @@ -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 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html