]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/gpio/gpio-wm831x.c
gpio/pinctrl: make gpio_chip members typed boolean
[mirror_ubuntu-artful-kernel.git] / drivers / gpio / gpio-wm831x.c
index 456000c5c4579fd380cb00c68b450b883e28dfb7..b18a1a26425ed81e1c676af88d8c5b7c4ca4e8bd 100644 (file)
@@ -240,7 +240,7 @@ static struct gpio_chip template_chip = {
        .to_irq                 = wm831x_gpio_to_irq,
        .set_debounce           = wm831x_gpio_set_debounce,
        .dbg_show               = wm831x_gpio_dbg_show,
-       .can_sleep              = 1,
+       .can_sleep              = true,
 };
 
 static int wm831x_gpio_probe(struct platform_device *pdev)