V4L/DVB: tm6000: Replace all Req 7 group of regs with another naming convention
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:07 +0000 (00:47 -0300)
commitb8e286260e97be4bb245041ae63b9565922246c2
tree3275ee56f7bc0de21ce4af19d43fa06ec4de347a
parent4605664bd94ed94ab65a00bc7c749704304cfd40
V4L/DVB: tm6000: Replace all Req 7 group of regs with another naming convention

According with the original patch that added the register names, those
are related to tm6010, so name it properly as such. Also, clearly
indicates when a register belongs to Request 0x07 and add its register
value at the name. This makes easier to double check if the proper
register is used along the driver.

This patch were made with the help of this simple perl script:

if (m/define (TM6000_)([^\s]+)\s+0x([A-F0-9].)/) { $name=$2; $val=$3;
printf "s,$1$2,TM6010_REQ07_R%s_%s,g\n", $val, $name; }

And were manually adjusted to fix a few minor issues.

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