aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-30 17:08:31 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:39 -0500
commit1ce6a1433572c650247480e1bbbca6bd61db7874 (patch)
tree5165bbfdff49b7a88cd68cd8906e4b8298945a51 /drivers/media
parent9e21ccaa69674e1b0aa887722801258f7de842db (diff)
[media] drivers/media/video: Update WARN uses
Add missing newlines. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/s5p-fimc/fimc-core.c2
-rw-r--r--drivers/media/video/sr030pc30.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c
index bb99f2d805d3..817aa66627f6 100644
--- a/drivers/media/video/s5p-fimc/fimc-core.c
+++ b/drivers/media/video/s5p-fimc/fimc-core.c
@@ -543,7 +543,7 @@ static void fimc_dma_run(void *priv)
543 unsigned long flags; 543 unsigned long flags;
544 u32 ret; 544 u32 ret;
545 545
546 if (WARN(!ctx, "null hardware context")) 546 if (WARN(!ctx, "null hardware context\n"))
547 return; 547 return;
548 548
549 fimc = ctx->fimc_dev; 549 fimc = ctx->fimc_dev;
diff --git a/drivers/media/video/sr030pc30.c b/drivers/media/video/sr030pc30.c
index c9dc67aba980..864696b7a006 100644
--- a/drivers/media/video/sr030pc30.c
+++ b/drivers/media/video/sr030pc30.c
@@ -735,7 +735,7 @@ static int sr030pc30_s_power(struct v4l2_subdev *sd, int on)
735 const struct sr030pc30_platform_data *pdata = info->pdata; 735 const struct sr030pc30_platform_data *pdata = info->pdata;
736 int ret; 736 int ret;
737 737
738 if (WARN(pdata == NULL, "No platform data!")) 738 if (WARN(pdata == NULL, "No platform data!\n"))
739 return -ENOMEM; 739 return -ENOMEM;
740 740
741 /* 741 /*