dm: replace dm_dbg() with pr_debug()
As we discussed before in ML, dm_dbg() causes undefined reference
error if #define DEBUG is added to users, but not drivers/core/util.c
We do not need this macro because we can use pr_debug() instead, and
it is pretty easy to enable it for the DM core by using ccflags-y.
Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
Showing
- drivers/core/Kconfig 6 additions, 0 deletionsdrivers/core/Kconfig
- drivers/core/Makefile 2 additions, 0 deletionsdrivers/core/Makefile
- drivers/core/device.c 1 addition, 1 deletiondrivers/core/device.c
- drivers/core/lists.c 8 additions, 7 deletionsdrivers/core/lists.c
- drivers/core/root.c 2 additions, 2 deletionsdrivers/core/root.c
- drivers/core/util.c 0 additions, 11 deletionsdrivers/core/util.c
- include/dm/util.h 0 additions, 8 deletionsinclude/dm/util.h
Loading
Please register or sign in to comment