From: Enric Balletbo i Serra Date: Sat, 23 Oct 2010 16:49:00 +0000 (+0000) Subject: omap3: IGEP v2: Improve igep2_flash_init() function X-Git-Tag: v2.6.38-rc1~469^2~61^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=235228ba21e34ba732b413c12259bac386f83283;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