aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tnetv107x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-tnetv107x.c')
-rw-r--r--drivers/gpio/gpio-tnetv107x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tnetv107x.c b/drivers/gpio/gpio-tnetv107x.c
index 58445bb69106..4aa481579a05 100644
--- a/drivers/gpio/gpio-tnetv107x.c
+++ b/drivers/gpio/gpio-tnetv107x.c
@@ -176,7 +176,7 @@ static int __init tnetv107x_gpio_setup(void)
176 ctlr = &chips[i]; 176 ctlr = &chips[i];
177 177
178 ctlr->chip.label = "tnetv107x"; 178 ctlr->chip.label = "tnetv107x";
179 ctlr->chip.can_sleep = 0; 179 ctlr->chip.can_sleep = false;
180 ctlr->chip.base = base; 180 ctlr->chip.base = base;
181 ctlr->chip.ngpio = ngpio - base; 181 ctlr->chip.ngpio = ngpio - base;
182 if (ctlr->chip.ngpio > 32) 182 if (ctlr->chip.ngpio > 32)