summaryrefslogtreecommitdiff
path: root/drivers/staging/cx25821/cx25821-video.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-07 20:48:21 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 10:16:46 (GMT)
commit36d89f7de4a4937848de86d9b35cb03a9f0357e1 (patch)
tree38d40406de7fe081febb1f6394f308a6037c0c67 /drivers/staging/cx25821/cx25821-video.h
parent13d28e4917fb6cf6898e8998f01ab83b3f468aeb (diff)
downloadlinux-36d89f7de4a4937848de86d9b35cb03a9f0357e1.tar.xz
[media] drivers/staging/cx25821: Use pr_fmt and pr_<level>
Fix several defects with bad line continuation uses that introduce whitespace. Fix several defects with lines missing "\n". Standardize prefixes via pr_fmt. Remove internal cx25821 prefixes. Standardize :%s():" ... __func__ uses. Coalesce long formats. Add KERN_<level> prefixes via pr_<level> to printks. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/cx25821/cx25821-video.h')
-rw-r--r--drivers/staging/cx25821/cx25821-video.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/staging/cx25821/cx25821-video.h b/drivers/staging/cx25821/cx25821-video.h
index a2415d3..213f37c 100644
--- a/drivers/staging/cx25821/cx25821-video.h
+++ b/drivers/staging/cx25821/cx25821-video.h
@@ -49,10 +49,11 @@
#define VIDEO_DEBUG 0
-#define dprintk(level, fmt, arg...)\
- do { if (VIDEO_DEBUG >= level)\
- printk(KERN_DEBUG "%s/0: " fmt, dev->name, ## arg);\
- } while (0)
+#define dprintk(level, fmt, arg...) \
+do { \
+ if (VIDEO_DEBUG >= level) \
+ printk(KERN_DEBUG "%s/0: " fmt, dev->name, ##arg); \
+} while (0)
/* For IOCTL to identify running upstream */
#define UPSTREAM_START_VIDEO 700