linux-stable/drivers/media/tuners
Mauro Carvalho Chehab 8ca2e927eb [media] tuners: 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 10:08:13 -02:00
..
e4000.c [media] tuners: Drop owner assignment from i2c_driver 2015-08-11 13:01:32 -03:00
e4000.h [media] e4000: various small changes 2015-05-20 13:48:31 -03:00
e4000_priv.h [media] e4000: implement V4L2 subdevice tuner and core ops 2015-05-20 13:49:27 -03:00
fc001x-common.h
fc0011.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
fc0011.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
fc0012-priv.h
fc0012.c
fc0012.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
fc0013-priv.h
fc0013.c
fc0013.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
fc2580.c [media] tuners: Drop owner assignment from i2c_driver 2015-08-11 13:01:32 -03:00
fc2580.h [media] fc2580: implement V4L2 subdevice for SDR control 2015-05-18 15:58:10 -03:00
fc2580_priv.h [media] fc2580: implement V4L2 subdevice for SDR control 2015-05-18 15:58:10 -03:00
it913x.c [media] it913x: do not allow driver unbind 2016-07-08 17:01:23 -03:00
it913x.h
Kconfig [media] tuners: Make all TV tuners visible if COMPILE_TEST=y 2015-08-11 12:56:40 -03:00
m88rs6000t.c [media] tuners: Refactoring for m88rs6000t_sleep() 2016-01-25 15:15:38 -02:00
m88rs6000t.h
Makefile
max2165.c [media] tv tuner max2165 driver: extend frequency range 2015-11-19 11:19:42 -02:00
max2165.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
max2165_priv.h
mc44s803.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
mc44s803.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
mc44s803_priv.h
msi001.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
mt20xx.c [media] mt20xx: use %*ph to do small hexa dumps 2016-10-21 08:51:28 -02:00
mt20xx.h
mt2060.c
mt2060.h
mt2060_priv.h
mt2063.c [media] tuners: constify dvb_tuner_ops structures 2016-09-19 16:23:21 -03:00
mt2063.h
mt2131.c
mt2131.h
mt2131_priv.h
mt2266.c
mt2266.h
mxl301rf.c
mxl301rf.h
mxl5005s.c
mxl5005s.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
mxl5007t.c [media] tuners: constify dvb_tuner_ops structures 2016-09-19 16:23:21 -03:00
mxl5007t.h
qm1d1c0042.c [media] em28xx: add support for PLEX PX-BCUD (ISDB-S) 2016-05-06 23:51:47 -03:00
qm1d1c0042.h
qt1010.c
qt1010.h
qt1010_priv.h
r820t.c r820t: comment out two ancillary tables 2016-06-24 12:00:02 -03:00
r820t.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
si2157.c [media] si2157: do not allow driver unbind 2016-07-08 16:54:54 -03:00
si2157.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
si2157_priv.h [media] si2157: detect if firmware is running 2016-05-06 10:07:45 -03:00
tda827x.c [media] tuners: constify dvb_tuner_ops structures 2016-09-19 16:23:21 -03:00
tda827x.h
tda8290.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
tda8290.h
tda9887.c
tda9887.h
tda18212.c [media] tuners: Drop owner assignment from i2c_driver 2015-08-11 13:01:32 -03:00
tda18212.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
tda18218.c
tda18218.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
tda18218_priv.h
tda18271-common.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
tda18271-fe.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
tda18271-maps.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
tda18271-priv.h [media] tda18271: use prefix on all printk messages 2016-09-05 15:26:28 -03:00
tda18271.h
tea5761.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
tea5761.h
tea5767.c [media] tuners: constify dvb_tuner_ops structures 2016-09-19 16:23:21 -03:00
tea5767.h
tua9001.c [media] tuners: Drop owner assignment from i2c_driver 2015-08-11 13:01:32 -03:00
tua9001.h [media] tua9001: various minor changes 2015-05-18 15:54:02 -03:00
tua9001_priv.h [media] tua9001: use div_u64() for frequency calculation 2015-05-18 15:55:14 -03:00
tuner-i2c.h [media] tuner-i2c: be consistent with I2C declaration 2015-06-23 10:01:45 -03:00
tuner-simple.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
tuner-simple.h
tuner-types.c
tuner-xc2028-types.h
tuner-xc2028.c [media] tuner-xc2028: don't break long lines 2016-10-21 08:35:06 -02:00
tuner-xc2028.h
xc4000.c [media] tuners: don't break long lines 2016-10-21 10:08:13 -02:00
xc4000.h
xc5000.c
xc5000.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00