Merge tag 'chrome-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/olof...
[deliverable/linux.git] / drivers / gpio / gpio-kempld.c
index 443518f63f157ab47d69346c972b744ef718acfa..6b8115f342085bb3b25f78ad8c13ed6ce10a9d7b 100644 (file)
@@ -156,7 +156,7 @@ static int kempld_gpio_probe(struct platform_device *pdev)
        }
 
        gpio = devm_kzalloc(dev, sizeof(*gpio), GFP_KERNEL);
-       if (gpio == NULL)
+       if (!gpio)
                return -ENOMEM;
 
        gpio->pld = pld;
This page took 0.034408 seconds and 5 git commands to generate.