From patchwork Tue Apr 17 14:29:50 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: 10345245 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 C2B0B601D7 for ; Tue, 17 Apr 2018 14:30:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A77742841F for ; Tue, 17 Apr 2018 14:30:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5CB82859E; Tue, 17 Apr 2018 14:30:54 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 184AD284BD for ; Tue, 17 Apr 2018 14:30:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752979AbeDQOar (ORCPT ); Tue, 17 Apr 2018 10:30:47 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:53417 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752972AbeDQOam (ORCPT ); Tue, 17 Apr 2018 10:30:42 -0400 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20180417143041epoutp02dac72bf4bc1767e3e6ea63ab994c5383~mP5biRqYC2314423144epoutp02a; Tue, 17 Apr 2018 14:30:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180417143041epoutp02dac72bf4bc1767e3e6ea63ab994c5383~mP5biRqYC2314423144epoutp02a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523975441; bh=4utlaiTUdiDGDEAzczmG+km8T+zbumtmBK1fFmcc27o=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=liAKFI9AEnRgwg/EGm8qWJPb50ruhT8bmFlC/OIaAai700wHPBlKmS8cI5TIb4p2l oUf6bqXfHbHBpodnxISeDQZJc/CMBx28XTyj1pLdPBKa1ildme1AEjcmm4Fj+Z6As7 cbFKCXRgT40yJa+FuaRC5kKpWIGkM3u8EBmOQqNA= Received: from epsmges2p4.samsung.com (unknown [182.195.42.72]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180417143040epcas2p35cf4a20b1d16641fff09558d9e268c0b~mP5bEmNu12533425334epcas2p3v; Tue, 17 Apr 2018 14:30:40 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id ED.8F.04082.01506DA5; Tue, 17 Apr 2018 23:30:40 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90~mP5aC7P0H2328123281epcas2p3y; Tue, 17 Apr 2018 14:30:39 +0000 (GMT) X-AuditID: b6c32a48-8c1ff70000000ff2-68-5ad60510a815 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id D7.5E.03827.F0506DA5; Tue, 17 Apr 2018 23:30:39 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P7C0012A2Y8EI10@mmp1.samsung.com>; Tue, 17 Apr 2018 23:30:39 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Cc: andi@etezian.org, krzk@kernel.org, kgene@kernel.org, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com, b.zolnierkie@samsung.com, Sylwester Nawrocki Subject: [PATCH v2 4/8] spi: spi-s3c64xx: Drop unused enable_datapath() function argument Date: Tue, 17 Apr 2018 16:29:50 +0200 Message-id: <20180417142954.5507-4-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180417142954.5507-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPIsWRmVeSWpSXmKPExsWy7bCmha4A67Uog5ZzqhaLfzxnstg4Yz2r xdSHT9gs+h+/ZrY4f34Du8Wmx9dYLWac38dk0fjxJrvF2iN32S0Ov2lndeDyuL7kE7PHplWd bB6bl9R79G1ZxejxeZNcAGsUl01Kak5mWWqRvl0CV8b3751sBV0cFbeu/WZvYLzM1sXIySEh YCKxcdNUxi5GLg4hgR2MEqd7bzBDON8ZJXafb2CEq3p+iQkisZtR4krrGZYuRg4g5xejxHoO kBo2AUOJ3qN9YPUiAmISt+d0gg1iFmhikmh9sI4VpF5YIFpi1k03kBoWAVWJhlWtLCA2r4CV xNp3K5ghdslLvF9wnxGknFPAWmJ/pwjIGAmBBWwS2z7MYoWocZHYuvoIO4QtLPHq+BYoW1ri 2aqNUDdXS3S2dbFDNLcwSvyZdgnqZWuJw8cvgg1iFuCT6Dj8lx1kmYQAr0RHmxCE6SFx8aoB RLWjRMvC5SwQr/cxSsz7sp15AqPUAkaGVYxiqQXFuempxUYFJnrFibnFpXnpesn5uZsYwdGq 5bGD8cA5n0OMAhyMSjy8EjuuRAmxJpYVV+YeYpTgYFYS4d35GCjEm5JYWZValB9fVJqTWnyI UZqDRUmct8H3TJSQQHpiSWp2ampBahFMlomDU6qB0VXwya6bPF9Ol2Ymn7uvUJ+yuKwvxPnB 1zeG3Hu6Py0SS7ilLGA/Y8IcxguzYu5edj7iyrP77YLVXBdfRCxYe19C8ZXFhq2CM8/efSO+ ONJQLi44Stbn/dqFi5992P5m++5yPRu/R1ar987z0pV1/j6Z9fb+2zcvaJWst1E13DejdvLu +eUSyyyVWIozEg21mIuKEwFSfdQe0gIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBLMWRmVeSWpSXmKPExsVy+t9jAV1+1mtRBquWylss/vGcyWLjjPWs FlMfPmGz6H/8mtni/PkN7BabHl9jtZhxfh+TRePHm+wWa4/cZbc4/Kad1YHL4/qST8wem1Z1 snlsXlLv0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBnfv3eyFXRxVNy69pu9gfEyWxcjJ4eE gInExueXmLoYuTiEBHYySryd8pgNwvnFKHH35FpGkCo2AUOJ3qN9YLaIgJjE7TmdzCBFzAJN TBLvP38Gcjg4hAWiJWbddAOpYRFQlWhY1coCYvMKWEmsfbeCGWKbvMT7BfcZQco5Bawl9neK gJhCQCXL/glOYORZwMiwilEytaA4Nz232KjAKC+1XK84Mbe4NC9dLzk/dxMjMLy2Hdbq38H4 eEn8IUYBDkYlHl6JHVeihFgTy4orcw8xSnAwK4nw7nwMFOJNSaysSi3Kjy8qzUktPsQozcGi JM7Ln38sUkggPbEkNTs1tSC1CCbLxMEp1cColpBZ0XE9zHqNeOjiK4vD8q+H77650nvfLrUz 37lNTeZLXlrcs4/puZ/rrapLYXwB+mFyPh4br0+3T5aZ1CW7R7fr46PDj0/uaahfPneSXvJc vlyWpriNh0Jq/OIyTx+1OhFot23xmxcpGTevLdrnKLrU9uiO9XbS+fXXf8v9eGTI7Lzp3qts JZbijERDLeai4kQAy4LPSysCAAA= X-CMS-MailID: 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90 X-RootMTR: 20180417143039epcas2p39e2c730d107c94e5f9bf104d3a938f90 References: <20180417142954.5507-1-s.nawrocki@samsung.com> 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 spi pointer argument is not used now so remove it. Signed-off-by: Sylwester Nawrocki Reviewed-by: Andi Shyti --- drivers/spi/spi-s3c64xx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 4c27426bcb40..5d94915c2738 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -349,8 +349,7 @@ static bool s3c64xx_spi_can_dma(struct spi_master *master, } static void enable_datapath(struct s3c64xx_spi_driver_data *sdd, - struct spi_device *spi, - struct spi_transfer *xfer, int dma_mode) + struct spi_transfer *xfer, int dma_mode) { void __iomem *regs = sdd->regs; u32 modecfg, chcfg; @@ -667,7 +666,7 @@ static int s3c64xx_spi_transfer_one(struct spi_master *master, sdd->state &= ~RXBUSY; sdd->state &= ~TXBUSY; - enable_datapath(sdd, spi, xfer, use_dma); + enable_datapath(sdd, xfer, use_dma); /* Start the signals */ s3c64xx_spi_set_cs(spi, true);