Skip to content

Commit dc1b5ba

Browse files
jeff-dagenaislinusw
authored andcommitted
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@gmail.com> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 992196f commit dc1b5ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/i2c/adp5588.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ struct adp5588_gpio_platform_data {
161161
unsigned irq_base; /* interrupt base # */
162162
unsigned pullup_dis_mask; /* Pull-Up Disable Mask */
163163
int (*setup)(struct i2c_client *client,
164-
int gpio, unsigned ngpio,
164+
unsigned gpio, unsigned ngpio,
165165
void *context);
166166
int (*teardown)(struct i2c_client *client,
167-
int gpio, unsigned ngpio,
167+
unsigned gpio, unsigned ngpio,
168168
void *context);
169169
void *context;
170170
};

0 commit comments

Comments
 (0)