From patchwork Mon Apr 16 15:40:16 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: 10343315 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 01E986039A for ; Mon, 16 Apr 2018 15:41:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5C4328782 for ; Mon, 16 Apr 2018 15:41:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D87C028790; Mon, 16 Apr 2018 15:41:01 +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 AC05628782 for ; Mon, 16 Apr 2018 15:41:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751159AbeDPPlA (ORCPT ); Mon, 16 Apr 2018 11:41:00 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:32503 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbeDPPk7 (ORCPT ); Mon, 16 Apr 2018 11:40:59 -0400 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20180416154057epoutp045dd674f742f6451b08e0d7788a7c5dd4~l9Nfzvd6q3185031850epoutp04B; Mon, 16 Apr 2018 15:40:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20180416154057epoutp045dd674f742f6451b08e0d7788a7c5dd4~l9Nfzvd6q3185031850epoutp04B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523893257; bh=thlq4PnPcgZ1BEyjf/MdPFFESzK6i2/sZkC1RsCi+Cw=; h=From:To:Cc:Subject:Date:References:From; b=UV3yYFnThi9gOqzFVJ8cgU/fZony0RrB2IgLLRSHmr5lxHv7w4/PP760xtlRRv9cq IxG/B0+BWu4crz86D+tsyLiFHRzdudkoQ5DxlWZyrUrsE4Fo7+pKgWAXT2MMUvDCNg fiahZFNYFMjHVJ7XBdVszcQsiSf5agVu+Fdt8cxw= Received: from epsmges2p1.samsung.com (unknown [182.195.42.69]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20180416154056epcas2p165a981203ac758a6ff693ce049d915d3~l9NfgWFqc1123111231epcas2p16; Mon, 16 Apr 2018 15:40:56 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id C6.B3.04068.804C4DA5; Tue, 17 Apr 2018 00:40:56 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20180416154055epcas2p4c08bb2254e79368a29eb481cddc59855~l9Nef5QOj1136811368epcas2p4o; Mon, 16 Apr 2018 15:40:55 +0000 (GMT) X-AuditID: b6c32a45-6ebff70000000fe4-d4-5ad4c408c5b1 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 31.AF.03827.704C4DA5; Tue, 17 Apr 2018 00:40:55 +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:40:55 +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 1/6] spi: spi-s3c64xx: Remove unused driver data structure tgl_spi field Date: Mon, 16 Apr 2018 17:40:16 +0200 Message-id: <20180416154021.25626-1-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsWy7bCmmS7HkStRBvv+G1ks/vGcyWLjjPWs FlMfPmGz6H/8mtni/PkN7BabHl9jtZhxfh+TRePHm+wWa4/cZbc4/Kad1YHL4/qST8wem1Z1 snlsXlLv0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBm3F+xlL9jAWTHr9EWmBsZJ7F2MnBwS AiYSP+d1sHUxcnEICexglOhY18AC4XxnlGjoXs8GU3XiXA87RGIDo8SpSfOhqn4xSnzt+MQE UsUmYCjRe7SPEcQWERCTuD2nkxmkiFmgiUmi9cE6VpCEsECUxJeDi4DGcnCwCKhK9HW7goR5 Bawllm28zgixTV7i/YL7jCC9EgI9bBJ9x98yQSRcJPpu/YY6XFji1fEtULa0xLNVG6GaqyU6 27rYIZpbGCX+TLsE9YO1xOHjF8GOYBbgk+g4/Jcd5AgJAV6JjjYhiBIPiRk/OqDmOEqsXbab BcQWEoiVOH55LesERskFjAyrGMVSC4pz01OLjQoM9YoTc4tL89L1kvNzNzGCY1PLdQfjjHM+ hxgFOBiVeHgldlyJEmJNLCuuzD3EKMHBrCTCO/8QUIg3JbGyKrUoP76oNCe1+BCjNAeLkjhv g++ZKCGB9MSS1OzU1ILUIpgsEwenVAOjoJpA43uVpYtbuZ8/TjnAWX1xebSa2ieV/fceXg3q 3nAluvRn+BuhsMVHbZd6H/m+5Pma6T7H3lTWsajFWj8tfstlx9v0bfviGWvtDf9UrpP8cvpc oGRKYGjTGgtm33nhYtd3vNobe8P29qTv7JVhc//zx5it/Jd6+mn49TcNjxY+2CJucOuWohJL cUaioRZzUXEiAGT0gn7JAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpiluLIzCtJLcpLzFFi42I5/e+xoC77kStRBv9vGlks/vGcyWLjjPWs FlMfPmGz6H/8mtni/PkN7BabHl9jtZhxfh+TRePHm+wWa4/cZbc4/Kad1YHL4/qST8wem1Z1 snlsXlLv0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBm3F+xlL9jAWTHr9EWmBsZJ7F2MnBwS AiYSJ871ANlcHEIC6xgl3t09zwTh/GKU6JkzkRmkik3AUKL3aB8jiC0iICZxe04nM0gRs0AT k8T7z5/BioQFoiS+HFzE1sXIwcEioCrR1+0KEuYVsJZYtvE6I8Q2eYn3C+4zTmDkWsDIsIpR MrWgODc9t9iowCgvtVyvODG3uDQvXS85P3cTIzBkth3W6t/B+HhJ/CFGAQ5GJR5eiR1XooRY E8uKK3MPMUpwMCuJ8M4/BBTiTUmsrEotyo8vKs1JLT7EKM3BoiTOy59/LFJIID2xJDU7NbUg tQgmy8TBKdXAuOLTtbs+qquEuf/PL3nIL2CvXNf24GDcmVbezOLrbkc9j0+1uLe35OX7I5++ P2HVvHgp9EhH+7Z5p1O/XFWZfPnKrRUGfdcvTnTTvWLG/vxFcfXDCUoKzWv/em66qnd6jdmE 0uJCz6+OnjpTffMfv996/Z/IGatlJ6Ysyju5TXHvl93H9i82vPlUiaU4I9FQi7moOBEAviGk LxUCAAA= X-CMS-MailID: 20180416154055epcas2p4c08bb2254e79368a29eb481cddc59855 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180416154055epcas2p4c08bb2254e79368a29eb481cddc59855 X-RootMTR: 20180416154055epcas2p4c08bb2254e79368a29eb481cddc59855 References: Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The tgl_spi pointer is now unused so remove it. Signed-off-by: Sylwester Nawrocki Reviewed-by: Andi Shyti Reviewed-by: Krzysztof Kozlowski --- drivers/spi/spi-s3c64xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index baa3a9fa2638..f7ca7ed33e1e 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -156,7 +156,6 @@ struct s3c64xx_spi_port_config { * @ioclk: Pointer to the i/o clock between master and slave * @master: Pointer to the SPI Protocol master. * @cntrlr_info: Platform specific data for the controller this driver manages. - * @tgl_spi: Pointer to the last CS left untoggled by the cs_change hint. * @lock: Controller specific lock. * @state: Set of FLAGS to indicate status. * @rx_dmach: Controller's DMA channel for Rx. @@ -177,7 +176,6 @@ struct s3c64xx_spi_driver_data { struct platform_device *pdev; struct spi_master *master; struct s3c64xx_spi_info *cntrlr_info; - struct spi_device *tgl_spi; spinlock_t lock; unsigned long sfr_start; struct completion xfer_completion;