diff options
author | Sean Young <sean@mess.org> | 2021-02-20 13:43:47 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-11 13:59:41 +0300 |
commit | 17e327a67e2a0f73b1c1cae7403035944ae713f1 (patch) | |
tree | f391ab35cdcc21af18d9f2a52cdf73e834342e4b /drivers/media/rc/ite-cir.h | |
parent | 0b2c7dcff345c32795164fc596d22542718c1600 (diff) | |
download | linux-17e327a67e2a0f73b1c1cae7403035944ae713f1.tar.xz |
media: ite-cir: use standard logging and reduce noise
Remove lots of superfluous debug messages which just log the function
name. Also, there is no need to announce the various parameters of the
device. This can be discovered via lirc ioctl if needed.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/rc/ite-cir.h')
-rw-r--r-- | drivers/media/rc/ite-cir.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/media/rc/ite-cir.h b/drivers/media/rc/ite-cir.h index dfdc26ba976c..853001f67445 100644 --- a/drivers/media/rc/ite-cir.h +++ b/drivers/media/rc/ite-cir.h @@ -8,21 +8,6 @@ /* platform driver name to register */ #define ITE_DRIVER_NAME "ite-cir" -/* logging macros */ -#define ite_pr(level, text, ...) \ - printk(level KBUILD_MODNAME ": " text, ## __VA_ARGS__) -#define ite_dbg(text, ...) do { \ - if (debug) \ - printk(KERN_DEBUG \ - KBUILD_MODNAME ": " text "\n" , ## __VA_ARGS__); \ -} while (0) - -#define ite_dbg_verbose(text, ...) do {\ - if (debug > 1) \ - printk(KERN_DEBUG \ - KBUILD_MODNAME ": " text "\n" , ## __VA_ARGS__); \ -} while (0) - /* FIFO sizes */ #define ITE_TX_FIFO_LEN 32 #define ITE_RX_FIFO_LEN 32 |