diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-11 08:26:45 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:47:12 -0400 |
commit | 2415a2c14ef5fde98d61e3af4c5ff6e019659799 (patch) | |
tree | 90f6b369a41139e772a58cfe71a8c6075abe6dcd /drivers/pcmcia/cirrus.h | |
parent | d9a724073633605def45be1f879a7406af469c87 (diff) |
V4L/DVB: tm6000: replace occurences of req05 magic by a naming alias
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>
Diffstat (limited to 'drivers/pcmcia/cirrus.h')
0 files changed, 0 insertions, 0 deletions