From patchwork Mon Mar 3 10:06:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 3753041 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 30B2BBF13A for ; Mon, 3 Mar 2014 10:14:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B96620394 for ; Mon, 3 Mar 2014 10:14:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E08720304 for ; Mon, 3 Mar 2014 10:14:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754374AbaCCKOS (ORCPT ); Mon, 3 Mar 2014 05:14:18 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:49457 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754037AbaCCKIG (ORCPT ); Mon, 3 Mar 2014 05:08:06 -0500 Received: from [201.74.152.26] (helo=smtp.w2.samsung.com) by bombadil.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1WKPn1-00078T-Bb; Mon, 03 Mar 2014 10:08:04 +0000 Received: from mchehab by smtp.w2.samsung.com with local (Exim 4.80.1) (envelope-from ) id 1WKPmF-0006Yu-KQ; Mon, 03 Mar 2014 07:07:15 -0300 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab Subject: [PATCH 65/79] [media] drx-j: Get rid of I2C protocol version Date: Mon, 3 Mar 2014 07:06:59 -0300 Message-Id: <1393841233-24840-66-git-send-email-m.chehab@samsung.com> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1393841233-24840-1-git-send-email-m.chehab@samsung.com> References: <1393841233-24840-1-git-send-email-m.chehab@samsung.com> To: unlisted-recipients:; (no To-header on input) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is not used anywere. Get rid of it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c | 15 --------------- drivers/media/dvb-frontends/drx39xyj/drx_driver.h | 1 - drivers/media/dvb-frontends/drx39xyj/drxj.c | 15 --------------- 3 files changed, 31 deletions(-) diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c b/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c index b78d45b68668..b81b4f9cd4b0 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c +++ b/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c @@ -108,23 +108,8 @@ static int drxdap_fasi_read_modify_write_reg32(struct i2c_device_addr *dev_addr, u32 datain, /* data to send */ u32 *dataout); /* data to receive back */ -/* The version structure of this protocol implementation */ -char drx_dap_fasi_module_name[] = "FASI Data Access Protocol"; -char drx_dap_fasi_version_text[] = ""; - -struct drx_version drx_dap_fasi_version = { - DRX_MODULE_DAP, /**< type identifier of the module */ - drx_dap_fasi_module_name, /**< name or description of module */ - - 0, /**< major version number */ - 0, /**< minor version number */ - 0, /**< patch version number */ - drx_dap_fasi_version_text /**< version as text string */ -}; - /* The structure containing the protocol interface */ struct drx_access_func drx_dap_fasi_funct_g = { - &drx_dap_fasi_version, drxdap_fasi_write_block, /* Supported */ drxdap_fasi_read_block, /* Supported */ drxdap_fasi_write_reg8, /* Not supported */ diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h index aabd5c56d55b..f3098b6bd006 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h +++ b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h @@ -1825,7 +1825,6 @@ struct drx_aud_data { * \struct struct drx_access_func * \brief Interface to an access protocol. */ struct drx_access_func { - struct drx_version *protocolVersion; drx_write_block_func_t write_block_func; drx_read_block_func_t read_block_func; drx_write_reg8func_t write_reg8func; diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c index 8f2f2653af2c..1e202dafe335 100644 --- a/drivers/media/dvb-frontends/drx39xyj/drxj.c +++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c @@ -584,23 +584,8 @@ static int drxj_dap_write_reg32(struct i2c_device_addr *dev_addr, u32 addr, u32 data, u32 flags); -/* The version structure of this protocol implementation */ -char drx_dap_drxj_module_name[] = "DRXJ Data Access Protocol"; -char drx_dap_drxj_version_text[] = "0.0.0"; - -struct drx_version drx_dap_drxj_version = { - DRX_MODULE_DAP, /**< type identifier of the module */ - drx_dap_drxj_module_name, /**< name or description of module */ - - 0, /**< major version number */ - 0, /**< minor version number */ - 0, /**< patch version number */ - drx_dap_drxj_version_text /**< version as text string */ -}; - /* The structure containing the protocol interface */ struct drx_access_func drx_dap_drxj_funct_g = { - &drx_dap_drxj_version, drxj_dap_write_block, /* Supported */ drxj_dap_read_block, /* Supported */ drxj_dap_write_reg8, /* Not supported */