Skip to content

Commit

Permalink
gpio: adp5588 - use "unsigned" for the setup and teardown callbacks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean-Francois Dagenais authored and Linus Walleij committed Feb 13, 2014
1 parent 992196f commit dc1b5ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/i2c/adp5588.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit dc1b5ba

Please sign in to comment.