summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2016-02-04 15:47:04 +0100
committerMauro Carvalho Chehab2016-02-04 19:27:29 +0100
commita7497049841f04712ad525969e5eb4a42b5a1704 (patch)
tree81e55bc148bb6910a89d5ded372413cc7d5d2546 /drivers
parent[media] lgs8gxx: don't export get_frontend() callback (diff)
downloadkernel-qcow2-linux-a7497049841f04712ad525969e5eb4a42b5a1704.tar.gz
kernel-qcow2-linux-a7497049841f04712ad525969e5eb4a42b5a1704.tar.xz
kernel-qcow2-linux-a7497049841f04712ad525969e5eb4a42b5a1704.zip
[media] mb86a20s: get rid of dummy get_frontend()
This is not needed, as the core handles well if get_frontend() is not present. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb-frontends/mb86a20s.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c
index cfc005ee11d8..fb88dddaf3a3 100644
--- a/drivers/media/dvb-frontends/mb86a20s.c
+++ b/drivers/media/dvb-frontends/mb86a20s.c
@@ -2028,16 +2028,6 @@ static int mb86a20s_read_signal_strength_from_cache(struct dvb_frontend *fe,
return 0;
}
-static int mb86a20s_get_frontend_dummy(struct dvb_frontend *fe)
-{
- /*
- * get_frontend is now handled together with other stats
- * retrival, when read_status() is called, as some statistics
- * will depend on the layers detection.
- */
- return 0;
-};
-
static int mb86a20s_tune(struct dvb_frontend *fe,
bool re_tune,
unsigned int mode_flags,
@@ -2136,7 +2126,6 @@ static struct dvb_frontend_ops mb86a20s_ops = {
.init = mb86a20s_initfe,
.set_frontend = mb86a20s_set_frontend,
- .get_frontend = mb86a20s_get_frontend_dummy,
.read_status = mb86a20s_read_status_and_stats,
.read_signal_strength = mb86a20s_read_signal_strength_from_cache,
.tune = mb86a20s_tune,