From: Enric Balletbò i Serra Date: Sat, 23 Oct 2010 16:49:00 +0000 (+0000) Subject: omap3: IGEP v2: Improve igep2_flash_init() function X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e4fad99a3e4330198e44b7ca21c88facab42931;p=pandora-kernel.git omap3: IGEP v2: Improve igep2_flash_init() function The changes are: - Use 'for' loop instead 'while' loop. - No need to initialize ret to 0, we're assigning it right after. - No need to check for onenandcs < GPMC_CS_NUM here, it will always be true. Signed-off-by: Enric Balletbo i Serra Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed