gpio/pinctrl: make gpio_chip members typed boolean
[deliverable/linux.git] / drivers / gpio / gpio-tps65910.c
index 06146219d9d21a06087634ae21ad1e7fbb8654e3..b6e818e680076c2041469d47e4ff03f7d7dee8c0 100644 (file)
@@ -143,7 +143,7 @@ static int tps65910_gpio_probe(struct platform_device *pdev)
        default:
                return -EINVAL;
        }
-       tps65910_gpio->gpio_chip.can_sleep = 1;
+       tps65910_gpio->gpio_chip.can_sleep = true;
        tps65910_gpio->gpio_chip.direction_input = tps65910_gpio_input;
        tps65910_gpio->gpio_chip.direction_output = tps65910_gpio_output;
        tps65910_gpio->gpio_chip.set    = tps65910_gpio_set;
This page took 0.02573 seconds and 5 git commands to generate.