From: Mauro Carvalho Chehab Date: Thu, 11 Mar 2010 13:26:46 +0000 (-0300) Subject: V4L/DVB: tm6000: Replace all Req 8 group of regs with another naming convention X-Git-Tag: v2.6.35-rc1~480^2~360 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4bccf5e780a1e32807530d6b4b0624f14346cff;p=pandora-kernel.git V4L/DVB: tm6000: Replace all Req 8 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 0x08 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, applied over the definitions of the last register groups: if (m/define (TM6000_)([^\s]+)\s+0x([A-F0-9].)/) { $name=$2; $val=$3; printf "s,$1$2,TM6010_REQ08_R%s_%s,g\n", $val, $name; } And were manually adjusted to fix a few minor issues. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed