linux/drivers/media/rc
Mauro Carvalho Chehab 25ec587c02 [media] rc: 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:07:34 -02:00
..
img-ir [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
keymaps [media] Convert Wideview WT220 DVB USB driver to rc-core 2016-07-09 12:10:33 -03:00
ati_remote.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
ene_ir.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
ene_ir.h
fintek-cir.c [media] media/fintek: drop pci_ids dependency 2015-05-12 13:44:41 -03:00
fintek-cir.h
gpio-ir-recv.c [media] rc: gpio-ir-recv: add timeout on idle 2015-11-19 07:46:33 -02:00
igorplugusb.c [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
iguanair.c [media] rc: make s_tx_carrier consistent 2016-07-15 11:54:23 -03:00
imon.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
ir-hix5hd2.c [media] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND 2015-10-22 15:48:24 -02:00
ir-jvc-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-lirc-codec.c [media] redrat3: make hardware timeout configurable 2016-07-15 12:01:46 -03:00
ir-mce_kbd-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-nec-decoder.c [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
ir-rc5-decoder.c [media] Fix RC5 decoding with Fintek CIR chipset 2016-07-09 11:47:28 -03:00
ir-rc6-decoder.c [media] rc: rc6 decoder should report protocol correctly 2016-09-22 11:42:29 -03:00
ir-rx51.c ir-rx51: use hrtimer instead of dmtimer 2016-06-29 21:54:35 -07:00
ir-sanyo-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-sharp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-sony-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ir-xmp-decoder.c [media] media: rc: move check whether a protocol is enabled to the core 2015-11-19 11:39:17 -02:00
ite-cir.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
ite-cir.h
Kconfig ir-rx51: Fix build after multiarch changes broke it 2016-06-29 21:46:31 -07:00
lirc_dev.c [media] lirc_dev: use LIRC_CAN_REC() define to check if the device can receive 2016-07-13 15:29:03 -03:00
Makefile
mceusb.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
meson-ir.c media: rc: meson-ir: Add support for newer versions of the IR decoder 2016-08-29 12:24:40 -07:00
nuvoton-cir.c [media] media: rc: nuvoton: simplify nvt_get_rx_ir_data a little 2016-09-22 11:37:28 -03:00
nuvoton-cir.h [media] media: rc: nuvoton: remove two unused elements in struct nvt_dev 2016-07-08 17:19:35 -03:00
rc-core-priv.h [media] media: rc: raw: improve FIFO handling 2016-01-25 12:38:09 -02:00
rc-ir-raw.c [media] media: rc: fix deadlock when module ir_lirc_codec is removed 2016-09-22 11:23:13 -03:00
rc-loopback.c Revert "[media] rc: rc-loopback: Add loopback of filter scancodes" 2015-08-19 07:02:53 -03:00
rc-main.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
redrat3.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
st_rc.c [media] media: st-rc: remove misuse of IRQF_NO_SUSPEND flag 2015-11-19 06:46:05 -02:00
streamzap.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00
sunxi-cir.c [media] rc: sunxi-cir: support module autoloading 2016-03-03 12:42:34 -03:00
ttusbir.c
winbond-cir.c [media] rc: don't break long lines 2016-10-21 10:07:34 -02:00