diff options
author | Harman Kalra <harman4linux@gmail.com> | 2016-10-09 21:05:03 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:25:59 +0200 |
commit | bdb2a2ff2c8dfb32c4d52a36e29efc649f2205b0 (patch) | |
tree | 059df99d2100680ce69d1b861b6210ec1489f81c /drivers/staging/i4l | |
parent | db0e8e5732c378393968dfa4fa89153b9d515d60 (diff) |
Staging: i4l: icn: prefer pr_* instead of printk
This patch replaces call to printk with appropriate pr_*
function thus addressing the following warning generated by the
checkpatch script:
Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then
dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ...
Signed-off-by: Harman Kalra <harman4linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/i4l')
-rw-r--r-- | drivers/staging/i4l/icn/icn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/i4l/icn/icn.h b/drivers/staging/i4l/icn/icn.h index f8f2e76d34bf..e273c2795f3c 100644 --- a/drivers/staging/i4l/icn/icn.h +++ b/drivers/staging/i4l/icn/icn.h @@ -54,7 +54,7 @@ typedef struct icn_cdef { /* some useful macros for debugging */ #ifdef ICN_DEBUG_PORT -#define OUTB_P(v, p) {printk(KERN_DEBUG "icn: outb_p(0x%02x,0x%03x)\n", v, p); outb_p(v, p);} +#define OUTB_P(v, p) {pr_debug("icn: outb_p(0x%02x,0x%03x)\n", v, p); outb_p(v, p);} #else #define OUTB_P outb #endif |