[media] dvb-frontends/stv0367: move out tables, support multiple tab variants
authorDaniel Scheller <d.scheller@gmx.net>
Wed, 29 Mar 2017 16:43:04 +0000 (13:43 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 12:21:14 +0000 (09:21 -0300)
commit8881ceb86f235ef0209d17f8e6498483badc348f
treed3673843e60053a711c6ff3d47a6db10c327f522
parent41727cbb203cd6606a0ea835d867060f27d57737
[media] dvb-frontends/stv0367: move out tables, support multiple tab variants

Move the *ter and *cab st_register tables into a separate header file and
additionally organize them via a multidimensional array, allowing to add
more tables with differing init values, and also prepare for a base init
table which should contain general setup values. Also add a state var to
store the table triplet to be used.

Also fixes three minor style problems reported by checkpatch.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv0367.c
drivers/media/dvb-frontends/stv0367_defs.h [new file with mode: 0644]