]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 29 Jul 2013 14:49:45 +0000 (11:49 -0300)
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 6f978e85db8c6ec2625f84075a81f787dfaff71e..a7911e3b9bc07d4e887dadf8a41a76cf6e1275c5 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__)