X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fgpio%2Fgpio-adp5588.c;h=3f190e68f973bfd551e47bb07999137d33569fdf;hb=9fb1f39eb2d6707d265087ee186376e24995f55a;hp=90fc4c99c024ee39605381c247236644e4c927b4;hpb=b7d0a28a9f65c4f8a547ceece820b8167a854968;p=mirror_ubuntu-artful-kernel.git 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, gc->direction_output = adp5588_gpio_direction_output; gc->get = adp5588_gpio_get_value; gc->set = adp5588_gpio_set_value; - gc->can_sleep = 1; + gc->can_sleep = true; gc->base = pdata->gpio_start; gc->ngpio = ADP5588_MAXGPIO;