X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/0a95e857aa89d4a52df301b068202db449abec41..a808a8e5276ff8e3012d1b54b9c3f29744889620:/target/linux/ar71xx/files/drivers/spi/ap83_spi.c diff --git a/target/linux/ar71xx/files/drivers/spi/ap83_spi.c b/target/linux/ar71xx/files/drivers/spi/ap83_spi.c index eada5fe9c..de8780dbb 100644 --- a/target/linux/ar71xx/files/drivers/spi/ap83_spi.c +++ b/target/linux/ar71xx/files/drivers/spi/ap83_spi.c @@ -37,8 +37,8 @@ #define AP83_SPI_GPIO_MISO 3 struct ap83_spi { - struct spi_bitbang bitbang; - void __iomem *base; + struct spi_bitbang bitbang; + void __iomem *base; u32 addr; struct platform_device *pdev; @@ -230,15 +230,15 @@ static int ap83_spi_probe(struct platform_device *pdev) return 0; - err_unmap: +err_unmap: iounmap(sp->base); - err_spi_put: +err_spi_put: platform_set_drvdata(pdev, NULL); spi_master_put(sp->bitbang.master); - err_free_cs: +err_free_cs: gpio_free(AP83_SPI_GPIO_CS); - err_free_miso: +err_free_miso: gpio_free(AP83_SPI_GPIO_MISO); return ret; }