X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fgpio%2Fgpio-adp5588.c;h=3f190e68f973bfd551e47bb07999137d33569fdf;hb=03d11a0e458d7008192585124e4c3313c2829046;hp=90fc4c99c024ee39605381c247236644e4c927b4;hpb=9fbeace73cb7c7b80de0411b4ba7b879a06e202d;p=firefly-linux-kernel-4.4.55.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;