All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: unlisted-recipients:; (no To-header on input)@casper.infradead.org
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Stefan Richter <stefanr@s5r6.in-berlin.de>
Subject: [PATCH 5/7] [media] mb86a20s: get rid of dummy get_frontend()
Date: Thu,  4 Feb 2016 13:57:30 -0200	[thread overview]
Message-ID: <ff54e73fc89550573fc37c06a9e2f378fb1d3d1d.1454600641.git.mchehab@osg.samsung.com> (raw)
In-Reply-To: <cover.1454600641.git.mchehab@osg.samsung.com>
In-Reply-To: <cover.1454600641.git.mchehab@osg.samsung.com>

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>
---
 drivers/media/dvb-frontends/mb86a20s.c | 11 -----------
 1 file changed, 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,
-- 
2.5.0



  parent reply	other threads:[~2016-02-04 15:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 15:57 [PATCH 0/7] Don't let G_PROPERTY interfere at tuner locking Mauro Carvalho Chehab
2016-02-04 15:57 ` [PATCH 1/7] [media] dvb_frontend: add props argument to dtv_get_frontend() Mauro Carvalho Chehab
2016-02-04 15:57 ` [PATCH 2/7] [media] siano: remove get_frontend stub Mauro Carvalho Chehab
2016-02-04 16:00   ` Javier Martinez Canillas
2016-02-04 15:57 ` [PATCH 3/7] [media] friio-fe: remove get_frontend() callback Mauro Carvalho Chehab
2016-02-04 15:57 ` [PATCH 4/7] [media] lgs8gxx: don't export " Mauro Carvalho Chehab
2016-02-04 15:57 ` Mauro Carvalho Chehab [this message]
2016-02-04 15:57 ` [PATCH 6/7] [media] dvb_frontend: pass the props cache to get_frontend() as arg Mauro Carvalho Chehab
2016-02-04 16:36   ` Michael Ira Krufky
2016-02-04 15:57 ` [PATCH 7/7] [media] dvb_frontend: Don't let drivers to trash data at cache Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff54e73fc89550573fc37c06a9e2f378fb1d3d1d.1454600641.git.mchehab@osg.samsung.com \
    --to=mchehab@osg.samsung.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.