From patchwork Mon Apr 16 15:40:17 2018 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: 10343323 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 EE88160542 for ; Mon, 16 Apr 2018 15:41:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF8B728785 for ; Mon, 16 Apr 2018 15:41:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3FFC2878F; Mon, 16 Apr 2018 15:41:23 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D27428785 for ; Mon, 16 Apr 2018 15:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Np1AU0q7j2oXyVTM4tmK9d8bwEuX9MuN/fip/7ocQtg=; b=UQKdpsOfxiiAS2YDsS9IpwO1JU jtY12DcNGxMHhntM3ZkFSYMV5x/ToKmzygLRJ2tXDy5sFEKk4w836A51TsJoB1G4wgFiXcNHNsOFl 6SfWzD9pe670ojLGhTn+4SQgFCoPVZRCpgJJp+KdByuQ5HcS3Uk3LB0ncoFH+57LNJBnbWb/PHTQr pNjuX/OcC2DY4WbP5GhP+qhujvZ7/SSkviUxRkULmc6e9nVmJFGm7xyrsB5FORDC+0GGPcBzCQA5P 0htoMc2ZYjYZNT350RYr9ran/+31ezVGTK3iuDMUldNpMETqpJpjbJbH2LuyH8P8V5ZZ02V2LNEST m3gx6k3g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f86Fo-0005Tr-Uc; Mon, 16 Apr 2018 15:41:16 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f86Fl-0005SW-8w for linux-arm-kernel@lists.infradead.org; Mon, 16 Apr 2018 15:41:15 +0000 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20180416154109epoutp044e9b8f67370b843d6b1f6cacc3b1e132~l9Nrb-77l3184731847epoutp04E; Mon, 16 Apr 2018 15:41:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20180416154109epoutp044e9b8f67370b843d6b1f6cacc3b1e132~l9Nrb-77l3184731847epoutp04E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523893269; bh=LNyvMfs1jVLSeIH6lf2zxre/X1ST68uD//ZM5XZuJXo=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=HafBYtURyZcCxs1lKMW6n+mAZK1ou4XtywoWsy8OH2CvOGBKwo03+zuuntmg+lZPO WXYxOUZYB+zTLXFL7Nw/BIhIuGHdnbR8BTMFaZ306cWSSHDSrjqgyH8bJGrh8+bpLP jO1Jgi7PuLEkVH/mRH1SdjYV7x8KbUxYa+8kGR/8= Received: from epsmges2p3.samsung.com (unknown [182.195.42.71]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180416154109epcas2p39e2b13ea72b4e3594723bae24bc73275~l9NrMR9vQ1443714437epcas2p33; Mon, 16 Apr 2018 15:41:09 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 2E.A3.04072.514C4DA5; Tue, 17 Apr 2018 00:41:09 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20180416154109epcas2p1696b9cdc72403fe5abdd0a2117067c8d~l9Nq0iAdQ2175021750epcas2p1H; Mon, 16 Apr 2018 15:41:09 +0000 (GMT) X-AuditID: b6c32a47-0fbff70000000fe8-66-5ad4c4150ff7 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id F1.AF.03827.414C4DA5; Tue, 17 Apr 2018 00:41:09 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P7A004PTBJEDK00@mmp2.samsung.com>; Tue, 17 Apr 2018 00:41:08 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Subject: [PATCH 2/6] spi: spi-s3c64xx: Remove unused s3c64xx_spi_hwinit() function argument Date: Mon, 16 Apr 2018 17:40:17 +0200 Message-id: <20180416154021.25626-2-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180416154021.25626-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEIsWRmVeSWpSXmKPExsWy7bCmma7okStRBmc/yFgs/vGcyWLjjP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WLfuy42COcXo8T75x3MIFVsAoYSvUf7GEFsEQExidtzOsE6mAWa mCTef/4M5HBwCAvESkw6qwFSwyKgKnF+yyM2EJtXwFri7pmbTBDb5CXeL7gPNodTwEbi+N+T YPOFgGquLH3NOoGRZwEjwypGydSC4tz03GKjAqO81HK94sTc4tK8dL3k/NxNjMAQ23ZYq38H 4+Ml8YcYBTgYlXh4JXZciRJiTSwrrsw9xCjBwawkwjv/EFCINyWxsiq1KD++qDQntfgQozQH i5I4L3/+sUghgfTEktTs1NSC1CKYLBMHp1QDI2e6aGIfb8iBV1VBy1suPHb+c//s8YeLRbR7 glgeNP0uv/z8nMQW9ZcTHz0SMksQWiS4ifVkQKeY4xkGuabfs8tstrDO1a68Y1n0t2HzEhu1 xbo8vfIsXWtmmn0MjFZ6mWoy1dg+at3ZPWf0+XKql+o82jfFpvGX//X5z5el7bA4Y7Ri30rP JiWW4oxEQy3mouJEAGY4XWwtAgAA X-CMS-MailID: 20180416154109epcas2p1696b9cdc72403fe5abdd0a2117067c8d X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180416154109epcas2p1696b9cdc72403fe5abdd0a2117067c8d X-RootMTR: 20180416154109epcas2p1696b9cdc72403fe5abdd0a2117067c8d References: <20180416154021.25626-1-s.nawrocki@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180416_084113_661125_6D0E0224 X-CRM114-Status: GOOD ( 15.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , b.zolnierkie@samsung.com, krzk@kernel.org, linux-spi@vger.kernel.org, kgene@kernel.org, andi@etezian.org, linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The channel argument is not used and anyway it could be retrieved from the passed driver data structure. Signed-off-by: Sylwester Nawrocki Reviewed-by: Andi Shyti Reviewed-by: Krzysztof Kozlowski --- drivers/spi/spi-s3c64xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index f7ca7ed33e1e..b7333a883442 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -889,7 +889,7 @@ static irqreturn_t s3c64xx_spi_irq(int irq, void *data) return IRQ_HANDLED; } -static void s3c64xx_spi_hwinit(struct s3c64xx_spi_driver_data *sdd, int channel) +static void s3c64xx_spi_hwinit(struct s3c64xx_spi_driver_data *sdd) { struct s3c64xx_spi_info *sci = sdd->cntrlr_info; void __iomem *regs = sdd->regs; @@ -1143,7 +1143,7 @@ static int s3c64xx_spi_probe(struct platform_device *pdev) pm_runtime_get_sync(&pdev->dev); /* Setup Deufult Mode */ - s3c64xx_spi_hwinit(sdd, sdd->port_id); + s3c64xx_spi_hwinit(sdd); spin_lock_init(&sdd->lock); init_completion(&sdd->xfer_completion); @@ -1258,7 +1258,7 @@ static int s3c64xx_spi_resume(struct device *dev) if (ret < 0) return ret; - s3c64xx_spi_hwinit(sdd, sdd->port_id); + s3c64xx_spi_hwinit(sdd); return spi_master_resume(master); }