upstream: [media] v4l2-ioctl: drop spurious newline in string
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 9 May 2014 12:26:04 +0000 (09:26 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:27:00 +0000 (14:27 +0900)
The message logged by v4l_print_cropcap should be a single line withouti
linebreaks, just like all the other v4l_print_<ioctl> functions.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-ioctl.c

index 601ab6c..a6b2a46 100644 (file)
@@ -563,7 +563,7 @@ static void v4l_print_cropcap(const void *arg, bool write_only)
        const struct v4l2_cropcap *p = arg;
 
        pr_cont("type=%s, bounds wxh=%dx%d, x,y=%d,%d, "
-               "defrect wxh=%dx%d, x,y=%d,%d\n, "
+               "defrect wxh=%dx%d, x,y=%d,%d, "
                "pixelaspect %d/%d\n",
                prt_names(p->type, v4l2_type_names),
                p->bounds.width, p->bounds.height,