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
gpio/pinctrl: make gpio_chip members typed boolean
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpio
/
gpio-adp5520.c
diff --git
a/drivers/gpio/gpio-adp5520.c
b/drivers/gpio/gpio-adp5520.c
index 084337d5514d8d1c373413d4c66d1ec1aa317163..613265944e2e3966f57aa21447cd2093422d9ef5 100644
(file)
--- a/
drivers/gpio/gpio-adp5520.c
+++ b/
drivers/gpio/gpio-adp5520.c
@@
-127,7
+127,7
@@
static int adp5520_gpio_probe(struct platform_device *pdev)
gc->direction_output = adp5520_gpio_direction_output;
gc->get = adp5520_gpio_get_value;
gc->set = adp5520_gpio_set_value;
- gc->can_sleep =
1
;
+ gc->can_sleep =
true
;
gc->base = pdata->gpio_start;
gc->ngpio = gpios;