linux/drivers/media/radio
Mauro Carvalho Chehab 547633def7 [media] radio: 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:06:56 -02:00
..
si470x [media] si470x: don't break long lines 2016-10-21 09:36:03 -02:00
si4713 [media] si4713: don't break long lines 2016-10-21 09:36:29 -02:00
wl128x [media] wl128x: don't break long lines 2016-10-21 09:37:45 -02:00
dsbr100.c
Kconfig
lm7000.h
Makefile
radio-aimslab.c
radio-aztech.c exynos4-is: remove some unused vars 2016-06-24 08:36:13 -03:00
radio-cadet.c
radio-gemtek.c [media] radio: don't break long lines 2016-10-21 10:06:56 -02:00
radio-isa.c
radio-isa.h
radio-keene.c
radio-ma901.c
radio-maxiradio.c [media] radio-maxiradio: fix memory leak when device is removed 2016-06-28 08:05:47 -03:00
radio-miropcm20.c
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c
radio-sf16fmr2.c [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
radio-shark2.c [media] radio-shark2: constify radio_tea5777_ops structures 2015-11-17 14:52:15 -02:00
radio-shark.c [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
radio-si476x.c [media] radio-si476x: add return value check to avoid dead code 2016-02-01 08:01:15 -02:00
radio-tea5764.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
radio-tea5777.c
radio-tea5777.h [media] radio-shark2: constify radio_tea5777_ops structures 2015-11-17 14:52:15 -02:00
radio-terratec.c
radio-timb.c [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c [media] radio: don't break long lines 2016-10-21 10:06:56 -02:00
radio-zoltrix.c
saa7706h.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
tea575x.c [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
tef6862.c [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00