mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-24 08:02:35 +00:00
Yet another naming replace magic thanks to perl scripts. This time, it
is done with:
cat tm6000-regs.h |perl -ne 'if (m/(TM6010_REQ[^\s]+)\s+0x([a-f0-9]+)\,
0x([a-f0-9]+)/) { $name="$1"; $req=$2; $val=$3; printf
"s/REQ_${req}_SET_GET_USBREG, 0x[0]*$3,/$1,/\n" }' >a; for i in tm*.c;
do sed -f a $i >b && mv b $i; done
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| README | ||
| tm6000-alsa.c | ||
| tm6000-cards.c | ||
| tm6000-core.c | ||
| tm6000-dvb.c | ||
| tm6000-i2c.c | ||
| tm6000-regs.h | ||
| tm6000-stds.c | ||
| tm6000-usb-isoc.h | ||
| tm6000-video.c | ||
| tm6000.h | ||
Todo: - checkpatch.pl cleanups - sparse cleanups - convert to new i2c approach - better support DVB - fix reading from i2c, if possible - fix loosing frames - fix oops? Please send patches to linux-media@vger.kernel.org