flash: Fix spelling of "ERR_TIMOUT"

checkpatch.pl complains about the spelling of ERR_TIMOUT. Since the
error is only used in a handful of files, we rename the error to
ERR_TIMEOUT.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Mario Six
2018-01-26 14:43:52 +01:00
committed by Stefan Roese
parent c8a9a82c10
commit 9dbaebcf9f
5 changed files with 9 additions and 9 deletions

View File

@@ -216,7 +216,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
goto outahere;
}
if (chip1 == TMO) {
rc = ERR_TIMOUT;
rc = ERR_TIMEOUT;
goto outahere;
}