Merge tag 'chrome-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/olof...
[deliverable/linux.git] / drivers / gpio / gpio-arizona.c
index 9665d0aa4ebbf5352a3389fff9cb4bf75df49cce..052fbc8fdaaa69da322297e6497a13778f3dabe3 100644 (file)
@@ -103,7 +103,7 @@ static int arizona_gpio_probe(struct platform_device *pdev)
 
        arizona_gpio = devm_kzalloc(&pdev->dev, sizeof(*arizona_gpio),
                                    GFP_KERNEL);
-       if (arizona_gpio == NULL)
+       if (!arizona_gpio)
                return -ENOMEM;
 
        arizona_gpio->arizona = arizona;
@@ -156,7 +156,6 @@ static int arizona_gpio_remove(struct platform_device *pdev)
 
 static struct platform_driver arizona_gpio_driver = {
        .driver.name    = "arizona-gpio",
-       .driver.owner   = THIS_MODULE,
        .probe          = arizona_gpio_probe,
        .remove         = arizona_gpio_remove,
 };
This page took 0.036259 seconds and 5 git commands to generate.