From: Jean-Francois Dagenais Date: Mon, 10 Feb 2014 17:24:04 +0000 (-0500) Subject: gpio: adp5588 - use "unsigned" for the setup and teardown callbacks X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=dc1b5ba150732738f905b277ad7317b188ce09e9;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Michael Hennerich Signed-off-by: Linus Walleij --- diff --git a/include/linux/i2c/adp5588.h b/include/linux/i2c/adp5588.h index d8341cb47b60..c2153049cfbd 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; };