summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-clps711x.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 15:32:53 +0530
committerMark Brown <broonie@linaro.org>2013-10-03 17:01:59 +0100
commitc70837908dc1b63298125e1b80064c4639d92fd2 (patch)
treeb7eda90aa605b1d3a26f96ee384277879a41432d /drivers/spi/spi-clps711x.c
parent15c03dd4859ab16f9212238f29dd315654aa94f6 (diff)
downloadop-kernel-dev-c70837908dc1b63298125e1b80064c4639d92fd2.zip
op-kernel-dev-c70837908dc1b63298125e1b80064c4639d92fd2.tar.gz
spi: clps711x: Remove redundant label
Remove empty label. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-clps711x.c')
-rw-r--r--drivers/spi/spi-clps711x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-clps711x.c b/drivers/spi/spi-clps711x.c
index 5655acf..1a78683 100644
--- a/drivers/spi/spi-clps711x.c
+++ b/drivers/spi/spi-clps711x.c
@@ -227,7 +227,7 @@ static int spi_clps711x_probe(struct platform_device *pdev)
if (ret) {
dev_err(&pdev->dev, "Can't request IRQ\n");
clk_put(hw->spi_clk);
- goto clk_out;
+ goto err_out;
}
ret = spi_register_master(master);
@@ -240,7 +240,6 @@ static int spi_clps711x_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "Failed to register master\n");
-clk_out:
err_out:
while (--i >= 0)
if (gpio_is_valid(hw->chipselect[i]))
OpenPOWER on IntegriCloud