Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jean-Francois Dagenais and committed by
Linus Walleij
dc1b5ba1 992196f2

+2 -2
+2 -2
include/linux/i2c/adp5588.h
··· 161 161 unsigned irq_base; /* interrupt base # */ 162 162 unsigned pullup_dis_mask; /* Pull-Up Disable Mask */ 163 163 int (*setup)(struct i2c_client *client, 164 - int gpio, unsigned ngpio, 164 + unsigned gpio, unsigned ngpio, 165 165 void *context); 166 166 int (*teardown)(struct i2c_client *client, 167 - int gpio, unsigned ngpio, 167 + unsigned gpio, unsigned ngpio, 168 168 void *context); 169 169 void *context; 170 170 };