u-boot/drivers/mtd/onenand
Masahiro Yamada 166cae20dd mtd: replace MTDDEBUG() with pr_debug()
In old days, the MTD subsystem in Linux had debug facility like
DEBUG(MTD_DEBUG_LEVEL1, ...).

They were all replaced with pr_debug() until Linux 3.2.  See Linux
commit 289c05222172 ("mtd: replace DEBUG() with pr_debug()").

U-Boot still uses similar macros.  Covert all of them for easier sync.

Done with the help of Coccinelle.

The semantic patch I used is as follows:

// <smpl>
@@
expression e1, e2;
@@
-MTDDEBUG(e1, e2)
+pr_debug(e2)
@@
expression e1, e2;
@@
-MTDDEBUG(e1, e2,
+pr_debug(e2,
 ...)
// </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-10-23 14:07:26 -04:00
..
Makefile drivers: mtd: convert makefiles to Kbuild style 2013-10-31 13:22:13 -04:00
onenand_base.c mtd: replace MTDDEBUG() with pr_debug() 2017-10-23 14:07:26 -04:00
onenand_bbt.c mtd: replace MTDDEBUG() with pr_debug() 2017-10-23 14:07:26 -04:00
onenand_spl.c onenand_spl_simple: Add DDP OneNAND support 2017-06-23 10:38:07 -04:00
onenand_uboot.c mtd: OneNAND: allow board init function fail 2016-07-22 14:46:12 -04:00
samsung.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00