From 500fac17357c37f07b9e8535b44d355d442b3b55 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 12 Nov 2010 18:50:29 +0000 Subject: ar71xx: fix whitespaces nits (build error has been fixed - juhosg) Signed-off-by: Arnaud Lacombe SVN-Revision: 23975 --- .../linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c | 4 ++-- target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c | 16 ++++++++-------- target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c | 6 +++--- target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) (limited to 'target/linux/ar71xx/files/drivers/mtd') diff --git a/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c b/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c index 1a55f4a..51ba7f5 100644 --- a/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c +++ b/target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c @@ -227,7 +227,7 @@ static int ar91xx_flash_probe(struct platform_device *pdev) add_mtd_device(info->mtd); return 0; - err_out: +err_out: ar91xx_flash_remove(pdev); return err; } @@ -246,7 +246,7 @@ static int ar91xx_flash_suspend(struct platform_device *dev, pm_message_t state) return 0; - fail: +fail: if (info->mtd->suspend) { BUG_ON(!info->mtd->resume); info->mtd->resume(info->mtd); diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c index ca9d8ad..17920e9 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c @@ -244,21 +244,21 @@ static int __init rb4xx_nand_probe(struct platform_device *pdev) return 0; - err_release_nand: +err_release_nand: nand_release(&info->mtd); - err_set_drvdata: +err_set_drvdata: platform_set_drvdata(pdev, NULL); - err_free_info: +err_free_info: kfree(info); - err_free_gpio_nce: +err_free_gpio_nce: gpio_free(RB4XX_NAND_GPIO_NCE); - err_free_gpio_cle: +err_free_gpio_cle: gpio_free(RB4XX_NAND_GPIO_CLE); - err_free_gpio_ale: +err_free_gpio_ale: gpio_free(RB4XX_NAND_GPIO_ALE); - err_free_gpio_ready: +err_free_gpio_ready: gpio_free(RB4XX_NAND_GPIO_READY); - err: +err: return ret; } diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c index badc781..07bf8e1 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c @@ -313,11 +313,11 @@ static int __init rb750_nand_probe(struct platform_device *pdev) return 0; - err_release_nand: +err_release_nand: nand_release(&info->mtd); - err_set_drvdata: +err_set_drvdata: platform_set_drvdata(pdev, NULL); - err_free_info: +err_free_info: kfree(info); return ret; } diff --git a/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c b/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c index e42b3d4..6cd78b6 100644 --- a/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c +++ b/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c @@ -158,9 +158,9 @@ static int wrt160nl_parse_partitions(struct mtd_info *master, *pparts = trx_parts; ret = TRX_PARTS; - free_hdr: +free_hdr: vfree(header); - out: +out: return ret; } -- cgit v1.1