mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-26 09:01:35 +00:00
cfi_flash: Use __func__ macro instead of function name
printf/debug statements should not include the file name as a hardcoded string, but instead use the __func__ macro. Fix all instances where this occurs. Signed-off-by: Mario Six <mario.six@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
88ecd8bf7c
commit
38d2831d3b
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ static int flash_is_busy(flash_info_t *info, flash_sect_t sect)
|
|||
default:
|
||||
retval = 0;
|
||||
}
|
||||
debug("flash_is_busy: %d\n", retval);
|
||||
debug("%s: %d\n", __func__, retval);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue