Merge tag 'iwlwifi-next-for-kalle-2015-05-03' of https://git.kernel.org/pub/scm/linux...
[deliverable/linux.git] / drivers / gpio / gpio-mc33880.c
index 4e3e160e5db2cbd72ca9755ab9eedff2fc04c99c..a431604c9e677beb30c69be99c221e44ea70f2e5 100644 (file)
@@ -151,7 +151,7 @@ static int mc33880_remove(struct spi_device *spi)
        struct mc33880 *mc;
 
        mc = spi_get_drvdata(spi);
-       if (mc == NULL)
+       if (!mc)
                return -ENODEV;
 
        gpiochip_remove(&mc->chip);
This page took 0.030005 seconds and 5 git commands to generate.