summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/eon.c
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-05-25 22:03:39 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-08-06 23:58:43 +0530
commit5a9109f65703b1272d2bbf94d057d832efbe24d8 (patch)
tree0a4284b76c8b880916be0bc724d44c562dd74a4e /drivers/mtd/spi/eon.c
parent583fe6c3d82b502acad5f7698a62253ba9d9304b (diff)
downloadu-boot-imx-5a9109f65703b1272d2bbf94d057d832efbe24d8.zip
u-boot-imx-5a9109f65703b1272d2bbf94d057d832efbe24d8.tar.gz
u-boot-imx-5a9109f65703b1272d2bbf94d057d832efbe24d8.tar.bz2
sf: eon|spansion|ramtron: Fix code cleanup
- line over 80 characters - insert the expression in same line Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi/eon.c')
-rw-r--r--drivers/mtd/spi/eon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c
index b16e7ab..25cfc12 100644
--- a/drivers/mtd/spi/eon.c
+++ b/drivers/mtd/spi/eon.c
@@ -54,8 +54,7 @@ struct spi_flash *spi_flash_probe_eon(struct spi_slave *spi, u8 *idcode)
flash->page_size = 256;
flash->sector_size = 256 * 16 * 16;
- flash->size = 256 * 16
- * params->nr_sectors;
+ flash->size = 256 * 16 * params->nr_sectors;
return flash;
}