[media] tm6000: Rework standard register tables
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 4 Aug 2011 07:14:09 +0000 (04:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 31 Aug 2011 20:17:17 +0000 (17:17 -0300)
commitc0fa65ff9e7fdbdea7bf1bbc02fb2c3ee6814cc7
treea22893ac905d88489a815094cda938da4ab356ba
parent873545820a52e8ab6f6d54a748b1759b98f9354a
[media] tm6000: Rework standard register tables

This commit uses sentinel entries to terminate the TV standard register
tables instead of hard-coding their size, allowing further entries to be
added more easily. It is also more space-efficient if the tables have a
varying number of entries.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-stds.c