From: Daniel Scheller <d.scheller.oss@gmail.com>
To: linux-media@vger.kernel.org, mchehab@kernel.org,
mchehab@s-opensource.com
Cc: jasmin@anw.at
Subject: [PATCH 3/4] [media] dvb-frontends/cxd2099: remove remainders from old attach way
Date: Tue, 6 Mar 2018 17:39:12 +0100 [thread overview]
Message-ID: <20180306163913.1519-4-d.scheller.oss@gmail.com> (raw)
In-Reply-To: <20180306163913.1519-1-d.scheller.oss@gmail.com>
From: Daniel Scheller <d.scheller@gmx.net>
As all drivers using the cxd2099 are converted to handle attach/detach
the generic I2C client way, the static inline cxd2099_attach isn't
required anymore. Thus cleanup cxd2099.h from the remainders, the adr
struct member isn't used anymore aswell.
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
---
drivers/media/dvb-frontends/cxd2099.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/media/dvb-frontends/cxd2099.h b/drivers/media/dvb-frontends/cxd2099.h
index 679e87512799..8fa45a4c615a 100644
--- a/drivers/media/dvb-frontends/cxd2099.h
+++ b/drivers/media/dvb-frontends/cxd2099.h
@@ -20,7 +20,6 @@
struct cxd2099_cfg {
u32 bitrate;
- u8 adr;
u8 polarity;
u8 clock_mode;
@@ -30,13 +29,4 @@ struct cxd2099_cfg {
struct dvb_ca_en50221 **en;
};
-/* TODO: remove when done */
-static inline struct
-dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, void *priv,
- struct i2c_adapter *i2c)
-{
- dev_warn(&i2c->dev, "%s: driver disabled by Kconfig\n", __func__);
- return NULL;
-}
-
#endif
--
2.16.1
next prev parent reply other threads:[~2018-03-06 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 16:39 [PATCH 0/4] cxd2099 series fixup Daniel Scheller
2018-03-06 16:39 ` [PATCH 1/4] [media] ddbridge: adapt cxd2099 attach to new i2c_client way Daniel Scheller
2018-03-06 16:39 ` [PATCH 2/4] [media] ngene: add I2C_FUNC_I2C to the I2C interface functionality Daniel Scheller
2018-03-06 16:39 ` Daniel Scheller [this message]
2018-03-06 16:39 ` [PATCH 4/4] [media] MAINTAINERS: add entry for cxd2099 Daniel Scheller
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=20180306163913.1519-4-d.scheller.oss@gmail.com \
--to=d.scheller.oss@gmail.com \
--cc=jasmin@anw.at \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mchehab@s-opensource.com \
/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.