]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpio/gpio-tb10x.c
Merge tag 'for-3.14-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / gpio / gpio-tb10x.c
index da071ddbad9985670843087ee3652844958b3827..07bce97647a684901db5c8e10f7b5d96072909af 100644 (file)
@@ -222,7 +222,7 @@ static int tb10x_gpio_probe(struct platform_device *pdev)
        tb10x_gpio->gc.free             = tb10x_gpio_free;
        tb10x_gpio->gc.base             = -1;
        tb10x_gpio->gc.ngpio            = ngpio;
-       tb10x_gpio->gc.can_sleep        = 0;
+       tb10x_gpio->gc.can_sleep        = false;
 
 
        ret = gpiochip_add(&tb10x_gpio->gc);
@@ -318,7 +318,7 @@ static struct platform_driver tb10x_gpio_driver = {
        .remove         = tb10x_gpio_remove,
        .driver = {
                .name   = "tb10x-gpio",
-               .of_match_table = of_match_ptr(tb10x_gpio_dt_ids),
+               .of_match_table = tb10x_gpio_dt_ids,
                .owner  = THIS_MODULE,
        }
 };