[media] cx231xx: remove board specific initialization
authorDevin Heitmueller <dheitmueller@hauppauge.com>
Thu, 8 Jul 2010 20:05:30 +0000 (17:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:17:19 +0000 (01:17 -0200)
commite3e0aaaafae24658f3d8683c65bc6793adbdfeb8
tree695771abc72977f1755f122f5ce9971cbdd9a26b
parent99d35a0e4c5f90fedd08b378be880308e3ef8cb3
[media] cx231xx: remove board specific initialization

There is no need for a switch statement here.  Use the contents of the board
profile to dictate the tuner driver and i2c address.  Eventually if a board
ever comes around which has a different i2c bus than #1, well that should be a
field in the board profile as well.

Signed-off-by: Devin Heitmueller <dheitmueller@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-cards.c