diff options
author | Dafna Hirschfeld <dafna3@gmail.com> | 2018-10-08 15:06:47 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-09 15:07:48 +0300 |
commit | 8f845c63313f017737a22a60706af70aca20471a (patch) | |
tree | 325b2b2330ff2baf1c0bc40f2b1c157f4b091394 /drivers/media/usb/pvrusb2/pvrusb2-debug.h | |
parent | ce32c0a530bd955206fe45c2eff77e581202d699 (diff) | |
download | linux-8f845c63313f017737a22a60706af70aca20471a.tar.xz |
media: pvrusb2: replace `printk` with `pr_*`
Replace calls to `printk` with the appropriate `pr_*`
macro.
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/pvrusb2/pvrusb2-debug.h')
-rw-r--r-- | drivers/media/usb/pvrusb2/pvrusb2-debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-debug.h b/drivers/media/usb/pvrusb2/pvrusb2-debug.h index 5cd16292e2fa..1323f949f454 100644 --- a/drivers/media/usb/pvrusb2/pvrusb2-debug.h +++ b/drivers/media/usb/pvrusb2/pvrusb2-debug.h @@ -17,7 +17,7 @@ extern int pvrusb2_debug; -#define pvr2_trace(msk, fmt, arg...) do {if(msk & pvrusb2_debug) printk(KERN_INFO "pvrusb2: " fmt "\n", ##arg); } while (0) +#define pvr2_trace(msk, fmt, arg...) do {if (msk & pvrusb2_debug) pr_info("pvrusb2: " fmt "\n", ##arg); } while (0) /* These are listed in *rough* order of decreasing usefulness and increasing noise level. */ |