summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/lg2160.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-14 07:44:20 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-11 12:51:36 -0400
commit8f8a19fcc1a89b83d0ab6d7cf2bcdd272dbd4334 (patch)
tree0b00b608ac7f2461e3b7aa23e2545f06113a93dd /drivers/media/dvb-frontends/lg2160.c
parentb2c41ca9632e686e79f6c9db9c5f75666d37926e (diff)
downloadtalos-obmc-linux-8f8a19fcc1a89b83d0ab6d7cf2bcdd272dbd4334.tar.gz
talos-obmc-linux-8f8a19fcc1a89b83d0ab6d7cf2bcdd272dbd4334.zip
media: dvb_frontend: get rid of get_property() callback
Only lg2160 implement gets_property, but there's no need for that, as no other driver calls this callback, as get_frontend() does the same, and set_frontend() also calls lg2160 get_frontend(). So, get rid of it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Reviewed-by: Michael Ira Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lg2160.c')
-rw-r--r--drivers/media/dvb-frontends/lg2160.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/media/dvb-frontends/lg2160.c b/drivers/media/dvb-frontends/lg2160.c
index 5798079add10..9854096839ae 100644
--- a/drivers/media/dvb-frontends/lg2160.c
+++ b/drivers/media/dvb-frontends/lg2160.c
@@ -1048,16 +1048,6 @@ fail:
return ret;
}
-static int lg216x_get_property(struct dvb_frontend *fe,
- struct dtv_property *tvp)
-{
- struct dtv_frontend_properties *c = &fe->dtv_property_cache;
-
- return (DTV_ATSCMH_FIC_VER == tvp->cmd) ?
- lg216x_get_frontend(fe, c) : 0;
-}
-
-
static int lg2160_set_frontend(struct dvb_frontend *fe)
{
struct lg216x_state *state = fe->demodulator_priv;
@@ -1368,8 +1358,6 @@ static const struct dvb_frontend_ops lg2160_ops = {
.init = lg216x_init,
.sleep = lg216x_sleep,
#endif
- .get_property = lg216x_get_property,
-
.set_frontend = lg2160_set_frontend,
.get_frontend = lg216x_get_frontend,
.get_tune_settings = lg216x_get_tune_settings,
@@ -1396,8 +1384,6 @@ static const struct dvb_frontend_ops lg2161_ops = {
.init = lg216x_init,
.sleep = lg216x_sleep,
#endif
- .get_property = lg216x_get_property,
-
.set_frontend = lg2160_set_frontend,
.get_frontend = lg216x_get_frontend,
.get_tune_settings = lg216x_get_tune_settings,
OpenPOWER on IntegriCloud