Merge tag 'chrome-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/olof...
[deliverable/linux.git] / drivers / gpio / gpio-da9055.c
index b8d7570368871f0b6a94129253e567b98893208f..7227e6ed3cb9291a1142a044622b36cf1ccf123b 100644 (file)
@@ -146,7 +146,7 @@ static int da9055_gpio_probe(struct platform_device *pdev)
        int ret;
 
        gpio = devm_kzalloc(&pdev->dev, sizeof(*gpio), GFP_KERNEL);
-       if (gpio == NULL)
+       if (!gpio)
                return -ENOMEM;
 
        gpio->da9055 = dev_get_drvdata(pdev->dev.parent);
This page took 0.026153 seconds and 5 git commands to generate.