]> git.sur5r.net Git - u-boot/commit
mtd: nand: omap_gpmc: minor cleanup of omap_correct_data_bch
authorpekon gupta <pekon@ti.com>
Fri, 11 Apr 2014 07:25:34 +0000 (12:55 +0530)
committerTom Rini <trini@ti.com>
Fri, 6 Jun 2014 21:45:57 +0000 (17:45 -0400)
commita09431da381ce8d1b4d48e1cbca5f2b4eea662f4
tree134f6d61fafe19255f30848612b0ce81149b5c0f
parent9233279f8e33d1b3d21958d8afe10fbc3e46b3f2
mtd: nand: omap_gpmc: minor cleanup of omap_correct_data_bch

This patch tries to avoid some local pointer dereferences, by using common
local variables in omap_correct_data_bch()

Signed-off-by: Pekon Gupta <pekon@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/mtd/nand/omap_gpmc.c