From patchwork Mon Apr 16 15:40:18 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: 10343343 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 A767B6039A for ; Mon, 16 Apr 2018 15:42:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9526220182 for ; Mon, 16 Apr 2018 15:42:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 899F32873E; Mon, 16 Apr 2018 15:42:41 +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 195D4286DC for ; Mon, 16 Apr 2018 15:42:40 +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=4+JBoEQ6TnLy5eF3feh0h0ZqLFHzNTvRSGkSfg9BvXk=; b=MBBWVWrHXJ08cN3b4ESRbKpJsH 3oKRFAJ8/+ujUDG1eQKU2AZKSh2ZLfCZyD7UFDzyrhHWJoAJkqafwHN2ERKrIAg8OYzWAqdF7ySHl v3cNhtYawgFy/ecJcIoW2Jec4+NZSzGSRu70PmuufbjcGIogv0q1aVrudyNhQmC6i5TPvjwUeJsOO dHC/z5nCsrRGZGVzazW0AAzWrUIs4PBw4+1bBJq6xAFFZb57h1UsZfQODOcsoW/OULodeC0Cktmdb JmyFQp7rFYBl98EGyBzdOTYhI15/NwwgPZI4ki/SkvuWkQCl2VtAsp/9maSm87un4fYcaAmR8hALg ZHU5UHgg==; 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 1f86Gz-00069x-Ol; Mon, 16 Apr 2018 15:42:29 +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 1f86G8-0005ZR-TB for linux-arm-kernel@lists.infradead.org; Mon, 16 Apr 2018 15:41:38 +0000 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20180416154125epoutp0408c138cc74dc66a9563170a039acdb8f~l9N51HtQ33185031850epoutp04F; Mon, 16 Apr 2018 15:41:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20180416154125epoutp0408c138cc74dc66a9563170a039acdb8f~l9N51HtQ33185031850epoutp04F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523893285; bh=6r82YGwElxxtciwSMo3/zUg8jzR5zPbE3kPTmtXvnaI=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=YPgG5jsZO/trqz02YQO9KUTGhrsvZdrlTRk0tLhfNo+dMGKX9LgdJwc8rNwPSepwV KclvGtPd3I4KjU/cVK9NtB4GZ/jWc+2taxFqaXnp0BwMFdtDtQwSwpcob5FpDX+Exb ArdhQCU1/UdTtpnStYU5b9le20p+1okuL64bzOEQ= Received: from epsmges1p2.samsung.com (unknown [182.195.42.54]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20180416154124epcas1p3cb85260b3f903369cc22c8d16881be32~l9N429eJJ3237132371epcas1p3H; Mon, 16 Apr 2018 15:41:24 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id D0.E1.04034.424C4DA5; Tue, 17 Apr 2018 00:41:24 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180416154122epcas1p1ae714af12f8da08783c47fcd820c40e7~l9N3teXZi1555615556epcas1p1N; Mon, 16 Apr 2018 15:41:22 +0000 (GMT) X-AuditID: b6c32a36-f6fff70000000fc2-5a-5ad4c424f3ca Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 26.E1.03849.224C4DA5; Tue, 17 Apr 2018 00:41:22 +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:22 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Subject: [PATCH 3/6] spi: spi-s3c64xx: Drop unused enable_datapath() function argument Date: Mon, 16 Apr 2018 17:40:18 +0200 Message-id: <20180416154021.25626-3-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+NgFjrMIsWRmVeSWpSXmKPExsWy7bCmnq7KkStRBrMfsVss/vGcyWLjjPWs FlMfPmGz6H/8mtni/PkN7BabHl9jtZhx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maQImaB JiaJ958/AzkcHMICERKXv0aC1LAIqEos37oQbAOvgLXErTdToLbJS7xfcB9sDqeAjcTxvyeZ QWwhoJorS1+zTmDkWcDIsIpRMrWgODc9t9iowDAvtVyvODG3uDQvXS85P3cTIzDEth3W6tvB eH9J/CFGAQ5GJR5eiR1XooRYE8uKK3MPMUpwMCuJ8M4/BBTiTUmsrEotyo8vKs1JLT7EKM3B oiTOezvvWKSQQHpiSWp2ampBahFMlomDU6qB0aNheWTt63kNtWvK51/ZxhVQ1390meZZLqXd DPnf7ifM7/v/5b1H9oRF9awV7Hu2dfzka9isFNIzN29anYrO1c9tP6pMXcqPvLgo0fjEtshp KcvH9G57i4wWJkGtL3dc9Jjb7x8q2hVyeC9D9yXp3PqOWWbqMR/en9t1NiHFaDpf0KSGGXf9 lFiKMxINtZiLihMBErWpDy0CAAA= X-CMS-MailID: 20180416154122epcas1p1ae714af12f8da08783c47fcd820c40e7 X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180416154122epcas1p1ae714af12f8da08783c47fcd820c40e7 X-RootMTR: 20180416154122epcas1p1ae714af12f8da08783c47fcd820c40e7 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_084137_124306_05C9CAC1 X-CRM114-Status: GOOD ( 14.97 ) 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 spi pointer argument is not used now so remove it. While at it s3c64xx_ prefix is added to the function name. Signed-off-by: Sylwester Nawrocki Reviewed-by: Andi Shyti Reviewed-by: Krzysztof Kozlowski --- drivers/spi/spi-s3c64xx.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.14.2 diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index b7333a883442..e90e60bc1ecc 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -348,9 +348,8 @@ static bool s3c64xx_spi_can_dma(struct spi_master *master, return xfer->len > (FIFO_LVL_MASK(sdd) >> 1) + 1; } -static void enable_datapath(struct s3c64xx_spi_driver_data *sdd, - struct spi_device *spi, - struct spi_transfer *xfer, int dma_mode) +static void s3c64xx_enable_datapath(struct s3c64xx_spi_driver_data *sdd, + struct spi_transfer *xfer, int dma_mode) { void __iomem *regs = sdd->regs; u32 modecfg, chcfg; @@ -665,7 +664,7 @@ static int s3c64xx_spi_transfer_one(struct spi_master *master, sdd->state &= ~RXBUSY; sdd->state &= ~TXBUSY; - enable_datapath(sdd, spi, xfer, use_dma); + s3c64xx_enable_datapath(sdd, xfer, use_dma); /* Start the signals */ s3c64xx_spi_set_cs(spi, true);