linux/drivers/media/platform
Mauro Carvalho Chehab ded026e080 [media] davinci: don't break long lines
Due to the 80-cols restrictions, and latter due to checkpatch
warnings, several strings were broken into multiple lines. This
is not considered a good practice anymore, as it makes harder
to grep for strings at the source code.

As we're right now fixing other drivers due to KERN_CONT, we need
to be able to identify what printk strings don't end with a "\n".
It is a way easier to detect those if we don't break long lines.

So, join those continuation lines.

The patch was generated via the script below, and manually
adjusted if needed.

</script>
use Text::Tabs;
while (<>) {
	if ($next ne "") {
		$c=$_;
		if ($c =~ /^\s+\"(.*)/) {
			$c2=$1;
			$next =~ s/\"\n$//;
			$n = expand($next);
			$funpos = index($n, '(');
			$pos = index($c2, '",');
			if ($funpos && $pos > 0) {
				$s1 = substr $c2, 0, $pos + 2;
				$s2 = ' ' x ($funpos + 1) . substr $c2, $pos + 2;
				$s2 =~ s/^\s+//;

				$s2 = ' ' x ($funpos + 1) . $s2 if ($s2 ne "");

				print unexpand("$next$s1\n");
				print unexpand("$s2\n") if ($s2 ne "");
			} else {
				print "$next$c2\n";
			}
			$next="";
			next;
		} else {
			print $next;
		}
		$next="";
	} else {
		if (m/\"$/) {
			if (!m/\\n\"$/) {
				$next=$_;
				next;
			}
		}
	}
	print $_;
}
</script>

Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-10-21 09:29:45 -02:00
..
am437x [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
atmel [media] atmel-isc: mark PM functions as __maybe_unused 2016-09-19 16:25:33 -03:00
blackfin [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
coda [media] media: coda: Fix probe() if reset controller is missing 2016-07-08 16:34:59 -03:00
davinci [media] davinci: don't break long lines 2016-10-21 09:29:45 -02:00
exynos4-is [media] exynos4-is: add of_platform_populate() call for FIMC-IS child devices 2016-09-22 10:20:06 -03:00
exynos-gsc [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
marvell-ccic [media] mcam-core: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:13:30 -03:00
mtk-vcodec Linux 4.8 2016-10-05 16:43:53 -03:00
mtk-vpu [media] VPU: mediatek: remove redundant dev_err call in mtk_vpu_probe() 2016-07-13 08:00:23 -03:00
omap [media] omap_vout: convert g/s_crop to g/s_selection 2016-08-24 09:49:44 -03:00
omap3isp [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00
rcar-vin [media] rcar-vin: add R-Car gen2 fallback compatibility string 2016-09-22 12:52:55 -03:00
s3c-camif [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
s5p-g2d [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
s5p-jpeg [media] s5p-jpeg: fix system and runtime PM integration 2016-09-22 10:11:57 -03:00
s5p-mfc [media] s5p-mfc: Remove deprecated create_singlethread_workqueue 2016-08-24 13:37:18 -03:00
soc_camera [media] soc-camera/rcar-vin: remove obsolete driver 2016-09-19 16:29:54 -03:00
sti [media] hva: fix sparse warnings 2016-09-19 16:28:48 -03:00
ti-vpe [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
vivid [media] vivid: fix error return code in vivid_create_instance() 2016-09-19 14:18:42 -03:00
vsp1 [media] vsp1: fix CodingStyle violations on multi-line comments 2016-09-19 15:18:01 -03:00
xilinx [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] fsl-viu: drop format names 2015-08-11 06:59:09 -03:00
Kconfig Linux 4.8 2016-10-05 16:43:53 -03:00
m2m-deinterlace.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
Makefile [media] pxa_camera: merge soc_mediabus.c into pxa_camera.c 2016-09-12 06:42:24 -03:00
mx2_emmaprp.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
pxa_camera.c [media] pxa_camera: remove duplicated include from pxa_camera.c 2016-09-19 14:18:14 -03:00
rcar_jpu.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
rcar-fcp.c [media] rcar-fcp: Make sure rcar_fcp_enable() returns 0 on success 2016-09-15 09:02:16 -03:00
sh_veu.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
sh_vou.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
via-camera.c [media] via-camera: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:14:04 -03:00
via-camera.h
vim2m.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00