[media] cx231xx: Use a generic check for TUNER_XC5000
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 30 Jan 2011 12:03:24 +0000 (09:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:59 +0000 (20:31 -0300)
commit3f25ffa2cd946333d29a668993f5aa78e9b56a02
tree754e562ba17c6c4ab5a0d10ab341f0b914567c1a
parent8bb84227d1ba41d6c1ec9350a4424ece5fe00e33
[media] cx231xx: Use a generic check for TUNER_XC5000

The check for xc5000 assumes that the tuner will always
be using the same bus and will have the same address.
As those are configurable via dev->board, it should use,
instead, the values defined there.

Also, a similar type of test will be needed by other
tuners (for example, for TUNER_XC2028)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-i2c.c