projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-v3.14' of git://git.infradead.org/battery-2.6
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpio
/
gpio-adp5588.c
diff --git
a/drivers/gpio/gpio-adp5588.c
b/drivers/gpio/gpio-adp5588.c
index 90fc4c99c024ee39605381c247236644e4c927b4..3f190e68f973bfd551e47bb07999137d33569fdf 100644
(file)
--- 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;