From: Pekon Gupta Date: Mon, 3 Mar 2014 10:08:31 +0000 (+0530) Subject: mtd: nand: omap: ecc.hwctl: refactor omap_enable_hwecc_bch for ECC related GPMC configs X-Git-Tag: v3.15-rc1~65^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5957a320122bed3262da7a3a57d6a89aaeb4358;p=pandora-kernel.git mtd: nand: omap: ecc.hwctl: refactor omap_enable_hwecc_bch for ECC related GPMC configs Lots of if..then..else conditions in omap_enable_hwecc_bch() can be avoided if code is refactored based on ecc-scheme. Signed-off-by: Pekon Gupta Signed-off-by: Brian Norris --- Reading git-diff-tree failed