linux/drivers/media/pci
Mauro Carvalho Chehab d6376f0e64 [media] b2c2: 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>

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-10-21 08:52:14 -02:00
..
b2c2 [media] b2c2: don't break long lines 2016-10-21 08:52:14 -02:00
bt8xx [media] bttv: convert g/s_crop to g/s_selection 2016-08-24 09:48:22 -03:00
cobalt [media] pci: constify snd_pcm_ops structures 2016-09-19 16:18:42 -03:00
cx18 [media] rc: Hauppauge z8f0811 can decode RC6 2016-09-22 11:44:52 -03:00
cx88 [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
cx23885 Merge branch 'akpm' (patches from Andrew) 2016-10-11 17:34:10 -07:00
cx25821 [media] cx25821: Remove deprecated create_singlethread_workqueue 2016-09-22 12:49:37 -03:00
ddbridge [media] constify local structures 2016-09-19 16:22:18 -03:00
dm1105 [media] dm1105: Remove unnecessary synchronize_irq() before free_irq() 2015-12-03 15:09:28 -02:00
dt3155 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ivtv Merge branch 'akpm' (patches from Andrew) 2016-10-11 17:34:10 -07:00
mantis [media] mantis: Fix error handling in mantis_dma_init() 2015-08-19 07:04:55 -03:00
meye [media] meye: embed video_device 2015-04-02 23:35:01 -03:00
netup_unidvb [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
ngene [media] constify local structures 2016-09-19 16:22:18 -03:00
pluto2
pt1 [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
pt3 [media] media: pci: pt3: don't print error when adding adapter fails 2016-08-24 13:58:46 -03:00
saa7134 Linux 4.8 2016-10-05 16:43:53 -03:00
saa7146 [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
saa7164 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
smipcie [media] constify local structures 2016-09-19 16:22:18 -03:00
solo6x10 [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
sta2x11 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ttpci [media] dvb_filter: use KERN_CONT where needed 2016-10-21 08:44:56 -02:00
tw68 [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
tw686x [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
tw5864 [media] tw5864: constify struct video_device template 2016-09-19 14:17:19 -03:00
zoran [media] zoran: convert g/s_crop to g/s_selection 2016-08-24 09:51:15 -03:00
Kconfig [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00
Makefile [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00