[media] dvb: Use DVBFE_ALGO_HW where applicable
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 22 Aug 2015 15:48:09 +0000 (12:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 22 Aug 2015 17:52:58 +0000 (14:52 -0300)
commit27460adc07a3f84e671dec71ac553818d5988003
tree79692dbadcf5732f46717f39a699a591c57ec568
parent0bf6cd7bc5d6751386d5f092e8d3fd2537aac954
[media] dvb: Use DVBFE_ALGO_HW where applicable

The dvb_frontend.c core defines a FE_ALGO_HW symbol that it is
never used. Also, both cx24123 returns 1 to get_algo() callback
instead of using DVBFE_ALGO_HW.

Probably, those are some left overs from some code cleanup.

Let's stop returning magic numbers and use the proper macro
value.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
drivers/media/dvb-core/dvb_frontend.c
drivers/media/dvb-frontends/cx24123.c
drivers/media/dvb-frontends/s921.c