upstream: [media] ene_ir: don't use pr_debug after all
authorMaxim Levitsky <maximlevitsky@gmail.com>
Sun, 7 Jul 2013 23:22:47 +0000 (20:22 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:51:31 +0000 (11:51 +0900)
This way to only way to get debug info is to use dynamic debug, but I
left debugging prints to debug hardware issues, and so I want this to be
enabled by module param.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/ene_ir.h

index 6f978e8..a7911e3 100644 (file)
 #define __dbg(level, format, ...)                              \
 do {                                                           \
        if (debug >= level)                                     \
-               pr_debug(format "\n", ## __VA_ARGS__);          \
+               pr_info(format "\n", ## __VA_ARGS__);           \
 } while (0)
 
 #define dbg(format, ...)               __dbg(1, format, ## __VA_ARGS__)