summaryrefslogtreecommitdiff
path: root/drivers/mtd/cfi_flash.c
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-01-26 16:43:40 +0300
committerStefan Roese <sr@denx.de>2018-01-29 09:48:58 +0300
commit38d2831d3b1bc618c36fcba855368e9ac239f3cc (patch)
treee82aeaf1dc2fedcdc70c6f6ae5a3d4d77299c346 /drivers/mtd/cfi_flash.c
parent88ecd8bf7cf04f2c08a1bcec862085e63f644efb (diff)
downloadu-boot-38d2831d3b1bc618c36fcba855368e9ac239f3cc.tar.xz
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>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
-rw-r--r--drivers/mtd/cfi_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index eebd641e36..6ae1ac871f 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -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;
}