summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/budget-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-24 07:59:20 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-24 07:59:20 -0200
commit739286f8598c1606b5ce283e2afcacd8be8cb96a (patch)
treea6b9c2676af5193ea2dfe01c12a57b7c8debae84 /linux/drivers/media/dvb/ttpci/budget-core.c
parent96c8b3df2a0b219a58a0873511a8fb7b7f6cfd4f (diff)
downloadmediapointer-dvb-s2-739286f8598c1606b5ce283e2afcacd8be8cb96a.tar.gz
mediapointer-dvb-s2-739286f8598c1606b5ce283e2afcacd8be8cb96a.tar.bz2
em28xx: remove has_tuner
From: Mauro Carvalho Chehab <mchehab@infradead.org> has_tuner flag doesn't make much sense, since tuner_type=TUNER_ABSENT means the same thing. Having two ways to say that a tuner is not present is not nice, since it may lead to bad setups. In fact, with the previous code, if a device were using has_tuner=0, but the user forces a tuner, with modprobe option tuner=type, the modprobe option won't work. Also, tveeprom returns TUNER_ABSENT, when tuner is unknown or absent. So, with the previous logic, in this case, the driver should set has_tuner=0, or has_tuner=1 otherwise. Instead of adding several additional tests and setups, better just to remove .has_tuner. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget-core.c')
0 files changed, 0 insertions, 0 deletions