diff options
author | Enric Balletbo i Serra <eballetbo@gmail.com> | 2010-10-23 18:49:00 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-11-30 22:48:25 +0100 |
commit | 235228ba21e34ba732b413c12259bac386f83283 (patch) | |
tree | 81030414fee969d5c4e2bd30de2d7b584c3e6752 /arch/parisc | |
parent | omap3: IGEP v2: Remove igep2_config array (diff) | |
download | linux-235228ba21e34ba732b413c12259bac386f83283.tar.xz linux-235228ba21e34ba732b413c12259bac386f83283.zip |
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>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions