gpio: adp5588 - use "unsigned" for the setup and teardown callbacks
authorJean-Francois Dagenais <jeff.dagenais@gmail.com>
Mon, 10 Feb 2014 17:24:04 +0000 (12:24 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Feb 2014 12:51:17 +0000 (13:51 +0100)
to comply with the rest of the GPIO drivers.

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/i2c/adp5588.h

index d8341cb47b60882b5a9f53bc6a6a2576b5482db7..c2153049cfbda743dac0abf54b71274dca1ea29a 100644 (file)
@@ -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;
 };