aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/spi/ap83_spi.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-11-12 18:50:29 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-11-12 18:50:29 +0000
commit500fac17357c37f07b9e8535b44d355d442b3b55 (patch)
tree3455cbcd7a3fb0258bdfbc05f4ac83979e12334f /target/linux/ar71xx/files/drivers/spi/ap83_spi.c
parent7fad1dae857560b400794ff2727a527ae3cfa750 (diff)
downloadupstream-500fac17357c37f07b9e8535b44d355d442b3b55.tar.gz
upstream-500fac17357c37f07b9e8535b44d355d442b3b55.tar.bz2
upstream-500fac17357c37f07b9e8535b44d355d442b3b55.zip
ar71xx: fix whitespaces nits
(build error has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23975
Diffstat (limited to 'target/linux/ar71xx/files/drivers/spi/ap83_spi.c')
-rw-r--r--target/linux/ar71xx/files/drivers/spi/ap83_spi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/drivers/spi/ap83_spi.c b/target/linux/ar71xx/files/drivers/spi/ap83_spi.c
index eada5fe9cb..de8780dbbd 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;
}