From patchwork Tue Mar 6 16:39:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10262227 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D11B260211 for ; Tue, 6 Mar 2018 16:39:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1B9B2904C for ; Tue, 6 Mar 2018 16:39:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B57B62904F; Tue, 6 Mar 2018 16:39:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 54D332904C for ; Tue, 6 Mar 2018 16:39:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753560AbeCFQjW (ORCPT ); Tue, 6 Mar 2018 11:39:22 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:40491 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753070AbeCFQjU (ORCPT ); Tue, 6 Mar 2018 11:39:20 -0500 Received: by mail-wm0-f67.google.com with SMTP id t6so23516724wmt.5 for ; Tue, 06 Mar 2018 08:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=h7yOWww5MxAvgScKp47cVmeUBXVpdgyCQ6K39Fk961I=; b=Ul7Yz/Q+G9UH+4J/LlU26ET72IFDBq5/zBqtyGIM5cF2grt7cImxsqdLWaMrNbGsfb t6pGssxVFQHM7L3fau/YMnSRj/tFKCltaX8GXk3t1gHv1WJe9wj/HjbIPuGXduO/r9dl 8v8su7xBymuAMRHvZOMvpNoicxuc0pyxe+7kU4b7uiNV2vY+cy9MuPNwaJdKDmXfCL6j PjkwgqoJd+nJapEKGJYpurhCOpc1eRB9NnvILI64xrq0BPlE4xGrkLNvBo+HeKG4th0h DNrD5Pq+DttrydP841N/FLhV4aQp5x+BhBYn0VlC79tsAKnqR9w4/WMUePkO4q9dgwa0 F9wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=h7yOWww5MxAvgScKp47cVmeUBXVpdgyCQ6K39Fk961I=; b=SsQnO7YFGXN3cFVC4S7rv3wJ/5oaCl8HK/y2PMYBo+XgWe+7tuMIa8nyDwQndL1lJi TcRhcqIET+NlebOuW2V9fi8WYLXpr7fIHCRSxSWzKASCAldvChXBs20Jvu4E6ryCrsQy +fxUkpn/lf8Ur1l58J+HOTYJprDVDzsBNtDyUfDA2A21dFAX09A0JvGqQhMYo4W9RCZ4 TBXZjHdMJWlk1SXznKcrgboPKf/jsN86TMdAhPxuotTzGzPyHhCXD7ZIqToNzHGqkdhF 94KpNYrpqFvcExccFPjvCk/vfiE1KJGJkAnEt2lwl8LapUf91xHTRMuGZD75FuB/acZJ pfRw== X-Gm-Message-State: AElRT7EkdYynmORJ8Q0mV3rAJkV8IEfdA6KPnauwtNvHv14tf8DPGh5/ Pk56hQLSMfcUAsceQlEZmjYT5g== X-Google-Smtp-Source: AG47ELvKF7AKlfaUICFenlGcp5SHMjO7qNB2VAKPCmZRW9WxM+fFRSKct4wXRePpvT+ItUEI6lsl7w== X-Received: by 10.28.3.68 with SMTP id 65mr7160920wmd.63.1520354359397; Tue, 06 Mar 2018 08:39:19 -0800 (PST) Received: from dvbdev.wuest.de (ip-84-118-193-200.unity-media.net. [84.118.193.200]) by smtp.gmail.com with ESMTPSA id 69sm9978573wmp.36.2018.03.06.08.39.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 08:39:18 -0800 (PST) From: Daniel Scheller 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 Message-Id: <20180306163913.1519-4-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180306163913.1519-1-d.scheller.oss@gmail.com> References: <20180306163913.1519-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller 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 Signed-off-by: Jasmin Jessich --- 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