diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-03-11 13:26:45 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 03:47:12 (GMT) |
commit | 2415a2c14ef5fde98d61e3af4c5ff6e019659799 (patch) | |
tree | 90f6b369a41139e772a58cfe71a8c6075abe6dcd /drivers/video/pnx4008 | |
parent | d9a724073633605def45be1f879a7406af469c87 (diff) | |
download | linux-fsl-qoriq-2415a2c14ef5fde98d61e3af4c5ff6e019659799.tar.xz |
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/video/pnx4008')
0 files changed, 0 insertions, 0 deletions