mtd: nand: omap: ecc.correct: omap_elm_correct_data: rename ambiguous variable 'eccsi...
authorPekon Gupta <pekon@ti.com>
Tue, 18 Mar 2014 13:26:43 +0000 (18:56 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 08:47:59 +0000 (01:47 -0700)
commitde0a4d69e6758bfa5792e7c723a9220eb5be5a32
tree9e3f5e1f0f3c03ac809f47eebe8ad04bbde4c8ae
parent4e558072ef91f0ca681a74c3aef9d6a30c116f2a
mtd: nand: omap: ecc.correct: omap_elm_correct_data: rename ambiguous variable 'eccsize' and 'ecc_vector_size'

renaming following variables as they cause confusion due to resemblence to
another similar field in 'struct nand_ecc_ctrl' (nand_chip->ecc.size).
renaming: ecc_vector_size --> ecc->bytes (info->nand.ecc.bytes)
renaming: eccsize         --> actual_eccbytes (info->nand.ecc.bytes - 1) for BCH4 and BCH8

Tested-by: Stefan Roese <sr@denx.de>
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/omap2.c