Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc1b5ba1 authored by Jean-Francois Dagenais's avatar Jean-Francois Dagenais Committed by Linus Walleij
Browse files

gpio: adp5588 - use "unsigned" for the setup and teardown callbacks



to comply with the rest of the GPIO drivers.

Signed-off-by: default avatarJean-Francois Dagenais <jeff.dagenais@gmail.com>
Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 992196f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
};