diff options
Diffstat (limited to 'drivers/gpio/gpio-adp5588.c')
-rw-r--r-- | drivers/gpio/gpio-adp5588.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c index 90fc4c99c024..3f190e68f973 100644 --- a/drivers/gpio/gpio-adp5588.c +++ b/drivers/gpio/gpio-adp5588.c | |||
@@ -380,7 +380,7 @@ static int adp5588_gpio_probe(struct i2c_client *client, | |||
380 | gc->direction_output = adp5588_gpio_direction_output; | 380 | gc->direction_output = adp5588_gpio_direction_output; |
381 | gc->get = adp5588_gpio_get_value; | 381 | gc->get = adp5588_gpio_get_value; |
382 | gc->set = adp5588_gpio_set_value; | 382 | gc->set = adp5588_gpio_set_value; |
383 | gc->can_sleep = 1; | 383 | gc->can_sleep = true; |
384 | 384 | ||
385 | gc->base = pdata->gpio_start; | 385 | gc->base = pdata->gpio_start; |
386 | gc->ngpio = ADP5588_MAXGPIO; | 386 | gc->ngpio = ADP5588_MAXGPIO; |