]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/gpio/gpio-max730x.c
gpio/pinctrl: make gpio_chip members typed boolean
[mirror_ubuntu-artful-kernel.git] / drivers / gpio / gpio-max730x.c
index f4f4ed19bdc13c8211d1eb74244afab51088738f..89226a36b08c9d31bdd4951e811bf88a53c1643d 100644 (file)
@@ -188,7 +188,7 @@ int __max730x_probe(struct max7301 *ts)
        ts->chip.set = max7301_set;
 
        ts->chip.ngpio = PIN_NUMBER;
-       ts->chip.can_sleep = 1;
+       ts->chip.can_sleep = true;
        ts->chip.dev = dev;
        ts->chip.owner = THIS_MODULE;