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 v2 5/7] [media] staging/cxd2099: remove remainders from old attach way
Date: Sat, 17 Feb 2018 16:03:26 +0100 [thread overview]
Message-ID: <20180217150328.686-6-d.scheller.oss@gmail.com> (raw)
In-Reply-To: <20180217150328.686-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/staging/media/cxd2099/cxd2099.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/media/cxd2099/cxd2099.h b/drivers/staging/media/cxd2099/cxd2099.h
index 679e87512799..8fa45a4c615a 100644
--- a/drivers/staging/media/cxd2099/cxd2099.h
+++ b/drivers/staging/media/cxd2099/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.13.6
next prev parent reply other threads:[~2018-02-17 15:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-17 15:03 [PATCH v2 0/7] cxd2099: convert to regmap API and move out of staging Daniel Scheller
2018-02-17 15:03 ` [PATCH v2 1/7] [media] ddbridge/ci: further deduplicate code/logic in ddb_ci_attach() Daniel Scheller
2018-02-17 15:03 ` [PATCH v2 2/7] [media] staging/cxd2099: convert to regmap API Daniel Scheller
2018-02-17 15:03 ` [PATCH v2 3/7] [media] ddbridge: adapt cxd2099 attach to new i2c_client way Daniel Scheller
2018-02-17 15:03 ` [PATCH v2 4/7] [media] ngene: adapt cxd2099 attach to the " Daniel Scheller
2018-02-17 15:03 ` Daniel Scheller [this message]
2018-02-17 15:03 ` [PATCH v2 6/7] [media] cxd2099: move driver out of staging into dvb-frontends Daniel Scheller
2018-02-17 15:03 ` [PATCH v2 7/7] [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=20180217150328.686-6-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox