From patchwork Sat Aug 31 13:08:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 2852397 Return-Path: X-Original-To: patchwork-davinci@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 3E197C0AB5 for ; Sat, 31 Aug 2013 13:10:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 67CE9202C4 for ; Sat, 31 Aug 2013 13:10:16 +0000 (UTC) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66C3C201CB for ; Sat, 31 Aug 2013 13:10:15 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r7VDAEUe013299 for ; Sat, 31 Aug 2013 08:10:14 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r7VDAEks016489 for ; Sat, 31 Aug 2013 08:10:14 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Sat, 31 Aug 2013 08:10:14 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id r7VDAEcL005782 for ; Sat, 31 Aug 2013 08:10:14 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 3CF378062A for ; Sat, 31 Aug 2013 08:10:14 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id 25D6080626 for ; Sat, 31 Aug 2013 08:09:14 -0500 (CDT) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflp52.itg.ti.com (8.13.7/8.13.8) with ESMTP id r7VD9DAw028056 for ; Sat, 31 Aug 2013 08:09:13 -0500 (CDT) Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id r7VD9D0f027968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 31 Aug 2013 08:09:13 -0500 Received: from [216.82.250.51:28476] by server-5.bemta-12.messagelabs.com id 30/7B-07788-9FAE1225; Sat, 31 Aug 2013 13:09:13 +0000 X-Env-Sender: broonie@sirena.org.uk X-Msg-Ref: server-15.tower-108.messagelabs.com!1377954550!13521937!1 X-Originating-IP: [80.68.93.111] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.9.11; banners=-,-,- X-VirusChecked: Checked Received: (qmail 25423 invoked from network); 31 Aug 2013 13:09:11 -0000 Received: from cassiel.sirena.org.uk (HELO cassiel.sirena.org.uk) (80.68.93.111) by server-15.tower-108.messagelabs.com with DHE-RSA-AES128-SHA encrypted SMTP; 31 Aug 2013 13:09:11 -0000 Received: from cpc11-sgyl31-2-0-cust68.sgyl.cable.virginmedia.com ([94.175.92.69] helo=finisterre) by cassiel.sirena.org.uk with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1VFkvK-0005id-U8; Sat, 31 Aug 2013 14:09:08 +0100 Received: from broonie by finisterre with local (Exim 4.80) (envelope-from ) id 1VFkvK-0001y9-F1; Sat, 31 Aug 2013 14:09:06 +0100 From: Mark Brown To: Samuel Ortiz , Lee Jones , Miguel Aguilar , Liam Girdwood Date: Sat, 31 Aug 2013 14:08:55 +0100 Message-ID: <1377954539-7532-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 1.8.4.rc3 In-Reply-To: <20130831130741.GG18608@sirena.org.uk> References: <20130831130741.GG18608@sirena.org.uk> X-SA-Exim-Connect-IP: 94.175.92.69 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Subject: [PATCH 1/5] mfd: davinci_voicecodec: Remove unused read and write functions X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on cassiel.sirena.org.uk) CC: , , , Mark Brown X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com X-Virus-Scanned: ClamAV using ClamSMTP From: Mark Brown These functions are not referenced anywhere, nor prototyped, so just remove them. Signed-off-by: Mark Brown --- drivers/mfd/davinci_voicecodec.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/mfd/davinci_voicecodec.c b/drivers/mfd/davinci_voicecodec.c index fb643985..a292d71 100644 --- a/drivers/mfd/davinci_voicecodec.c +++ b/drivers/mfd/davinci_voicecodec.c @@ -32,17 +32,6 @@ #include -u32 davinci_vc_read(struct davinci_vc *davinci_vc, int reg) -{ - return __raw_readl(davinci_vc->base + reg); -} - -void davinci_vc_write(struct davinci_vc *davinci_vc, - int reg, u32 val) -{ - __raw_writel(val, davinci_vc->base + reg); -} - static int __init davinci_vc_probe(struct platform_device *pdev) { struct davinci_vc *davinci_vc;