From patchwork Thu Aug 4 13:38:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 9264631 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 0604060754 for ; Fri, 5 Aug 2016 00:24:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB3DE28415 for ; Fri, 5 Aug 2016 00:24:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E016E28425; Fri, 5 Aug 2016 00:24:03 +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=-0.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, TVD_SUBJ_WIPE_DEBT autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CA6828415 for ; Fri, 5 Aug 2016 00:24:03 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3845E266B2C; Fri, 5 Aug 2016 02:23:54 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9346A266B67; Fri, 5 Aug 2016 01:13:44 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7F9F5266B40; Fri, 5 Aug 2016 01:13:41 +0200 (CEST) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by alsa0.perex.cz (Postfix) with ESMTP id A74172674CC for ; Thu, 4 Aug 2016 15:39:30 +0200 (CEST) Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OBE013KD0GKDQE0@mailout3.samsung.com> for alsa-devel@alsa-project.org; Thu, 04 Aug 2016 22:39:29 +0900 (KST) X-AuditID: cbfee61a-f78ff6d000001462-80-57a34591d770 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 46.E8.05218.19543A75; Thu, 4 Aug 2016 22:39:29 +0900 (KST) Received: from AMDC1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OBE000Y20L4R530@mmp1.samsung.com>; Thu, 04 Aug 2016 22:39:29 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Date: Thu, 04 Aug 2016 15:38:44 +0200 Message-id: <1470317928-25365-5-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1470317928-25365-1-git-send-email-s.nawrocki@samsung.com> References: <1470317928-25365-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKLMWRmVeSWpSXmKPExsVy+t9jAd2JrovDDQ4eErK4cvEQk8XGGetZ LaY+fMJmcf78BnaLTY+vsVrMOL+PyeLwm3ZWB3aPDZ+b2Dw2repk89i8pN6jb8sqRo/Pm+QC WKO4bFJSczLLUov07RK4Mnom/WYtaOKsmNS8j62B8SJ7FyMnh4SAiUTnm5csELaYxIV769m6 GLk4hASWMkr8ufaPFcL5xSixev1OZpAqNgFDid6jfYwgtghQx+05nWBxZoEjjBJ714JNFRbw ktjcfQwsziKgKjH/3UmwDbwCbhI3b5xggtgmJ3Hy2GSgBRwcnALuEi+2eICEhYBKvr46xjqB kXcBI8MqRonUguSC4qT0XMO81HK94sTc4tK8dL3k/NxNjODAeia1g/HgLvdDjAIcjEo8vBdM F4ULsSaWFVfmHmKU4GBWEuH97bQ4XIg3JbGyKrUoP76oNCe1+BCjNAeLkjjv4//rwoQE0hNL UrNTUwtSi2CyTBycUg2MJ/ZtPx7W5vzWZprA9gVLNN6phsscEfuewuq7Iueq+j5e14knP/M2 9CgZbd/cfbPdOK9huoqdX6l92o6j2drvvq7WVmjXbmyc8TJVmGdZwe5pFYV95pGKXxl2Cb8W FVvV++0d/3yJmu7DKla3/m88cKyB/YG28NWtlr38te0PTpjap2koXcxRYinOSDTUYi4qTgQA Hn6R8SgCAAA= Cc: alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com, krzk@kernel.org, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH 4/8] ASoC: s3c24xx_uda134x: Remove unused power() callback X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The power() callback has always been empty so just remove it. Signed-off-by: Sylwester Nawrocki --- include/sound/s3c24xx_uda134x.h | 1 - sound/soc/samsung/s3c24xx_uda134x.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/sound/s3c24xx_uda134x.h b/include/sound/s3c24xx_uda134x.h index 33df4cb..ffaf1f0 100644 --- a/include/sound/s3c24xx_uda134x.h +++ b/include/sound/s3c24xx_uda134x.h @@ -7,7 +7,6 @@ struct s3c24xx_uda134x_platform_data { int l3_clk; int l3_mode; int l3_data; - void (*power) (int); int model; }; diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c index 92e88bc..c145eb2 100644 --- a/sound/soc/samsung/s3c24xx_uda134x.c +++ b/sound/soc/samsung/s3c24xx_uda134x.c @@ -282,7 +282,6 @@ static int s3c24xx_uda134x_probe(struct platform_device *pdev) "unable to find platform data\n"); return -ENODEV; } - s3c24xx_uda134x.power = s3c24xx_uda134x_l3_pins->power; s3c24xx_uda134x.model = s3c24xx_uda134x_l3_pins->model; if (s3c24xx_uda134x_setup_pin(s3c24xx_uda134x_l3_pins->l3_data,