commit | 235228ba21e34ba732b413c12259bac386f83283 | [log] [tgz] |
---|---|---|
author | Enric Balletbo i Serra <eballetbo@gmail.com> | Sat Oct 23 16:49:00 2010 +0000 |
committer | Tony Lindgren <tony@atomide.com> | Tue Nov 30 13:48:25 2010 -0800 |
tree | 81030414fee969d5c4e2bd30de2d7b584c3e6752 | |
parent | ae3e033362430f2684bb3519456c88d14e182f01 [diff] |
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 <eballetbo@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>