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: 9263661 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 595D4608A1 for ; Thu, 4 Aug 2016 13:40:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CB7928409 for ; Thu, 4 Aug 2016 13:40:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41DE128419; Thu, 4 Aug 2016 13:40:27 +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=-5.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, TVD_SUBJ_WIPE_DEBT 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 C45012840D for ; Thu, 4 Aug 2016 13:40:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933618AbcHDNkY (ORCPT ); Thu, 4 Aug 2016 09:40:24 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:43534 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933733AbcHDNkW (ORCPT ); Thu, 4 Aug 2016 09:40:22 -0400 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 linux-samsung-soc@vger.kernel.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 Cc: krzk@kernel.org, alsa-devel@alsa-project.org, b.zolnierkie@samsung.com, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sylwester Nawrocki Subject: [PATCH 4/8] ASoC: s3c24xx_uda134x: Remove unused power() callback 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= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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,