diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-22 18:48:09 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-22 20:52:58 +0300 |
commit | 27460adc07a3f84e671dec71ac553818d5988003 (patch) | |
tree | 79692dbadcf5732f46717f39a699a591c57ec568 /drivers/media/dvb-frontends/s921.c | |
parent | 0bf6cd7bc5d6751386d5f092e8d3fd2537aac954 (diff) | |
download | linux-27460adc07a3f84e671dec71ac553818d5988003.tar.xz |
[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>
Diffstat (limited to 'drivers/media/dvb-frontends/s921.c')
-rw-r--r-- | drivers/media/dvb-frontends/s921.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/s921.c b/drivers/media/dvb-frontends/s921.c index b2d9fe13e1a0..d6a8fa63040b 100644 --- a/drivers/media/dvb-frontends/s921.c +++ b/drivers/media/dvb-frontends/s921.c @@ -466,7 +466,7 @@ static int s921_tune(struct dvb_frontend *fe, static int s921_get_algo(struct dvb_frontend *fe) { - return 1; /* FE_ALGO_HW */ + return DVBFE_ALGO_HW; } static void s921_release(struct dvb_frontend *fe) |