V4L/DVB: tm6000: Add request at Req07/Req08 register definitions
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 11 Mar 2010 13:26:46 +0000 (10:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:47:09 +0000 (00:47 -0300)
commit77012fb9954ebe355ce4ecfdaf9a0d5b88cb665b
tree8fc72ff112ddc4231df169ad9124f4681980b042
parentc4bccf5e780a1e32807530d6b4b0624f14346cff
V4L/DVB: tm6000: Add request at Req07/Req08 register definitions

Use a pair Req/Reg for all registers at req07 and req08 groups. This
makes easier to replace them at the code with a script and helps to
avoid using the wrong req with some register.

This change were generated by this script:

if (m/^(\#define TM6010_REQ)([0-9].)([^\s]+)(\s+)0x([A-F0-9].)/) {
$name="$1$2$3"; $sp=$4; $req=$2; $val=$5; $val=~tr/A-F/a-f/; printf
"$name%s0x%s, 0x%s\n", $sp, $req, $val; } else { print $_ }

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-regs.h