summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/drivers/mtd
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/mtd
parent7fad1dae857560b400794ff2727a527ae3cfa750 (diff)
downloadmtk-20170518-500fac17357c37f07b9e8535b44d355d442b3b55.zip
mtk-20170518-500fac17357c37f07b9e8535b44d355d442b3b55.tar.gz
mtk-20170518-500fac17357c37f07b9e8535b44d355d442b3b55.tar.bz2
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/mtd')
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/maps/ar91xx_flash.c4
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c16
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c6
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c4
4 files changed, 15 insertions, 15 deletions
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;
}