spi: atmel: fix indenting in atmel_spi_gpio_cs()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 14 Nov 2016 14:26:44 +0000 (17:26 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 14 Nov 2016 17:24:41 +0000 (17:24 +0000)
These lines were indented one extra tab.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-atmel.c

index d3affa6afe7ec13e3fed4a7df5ac00a0bb6083e3..b2931493cab2fb0ee825cbea4f69317f52436ea0 100644 (file)
@@ -1510,15 +1510,15 @@ static int atmel_spi_gpio_cs(struct platform_device *pdev)
                int cs_gpio = of_get_named_gpio(pdev->dev.of_node,
                                                "cs-gpios", i);
 
-                       if (cs_gpio == -EPROBE_DEFER)
-                               return cs_gpio;
-
-                       if (gpio_is_valid(cs_gpio)) {
-                               ret = devm_gpio_request(&pdev->dev, cs_gpio,
-                                                       dev_name(&pdev->dev));
-                               if (ret)
-                                       return ret;
-                       }
+               if (cs_gpio == -EPROBE_DEFER)
+                       return cs_gpio;
+
+               if (gpio_is_valid(cs_gpio)) {
+                       ret = devm_gpio_request(&pdev->dev, cs_gpio,
+                                               dev_name(&pdev->dev));
+                       if (ret)
+                               return ret;
+               }
        }
 
        return 0;