From patchwork Tue Apr 17 14:29:48 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: 10345237 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 280C460216 for ; Tue, 17 Apr 2018 14:30:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BDEA284B3 for ; Tue, 17 Apr 2018 14:30:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A3D228478; Tue, 17 Apr 2018 14:30:39 +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 B4CAB28514 for ; Tue, 17 Apr 2018 14:30:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752871AbeDQOad (ORCPT ); Tue, 17 Apr 2018 10:30:33 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:13916 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752779AbeDQOaa (ORCPT ); Tue, 17 Apr 2018 10:30:30 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20180417143029epoutp04773296c92d69bf9bf2ec38896be7e8aa~mP5QVty8M3244832448epoutp04U; Tue, 17 Apr 2018 14:30:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20180417143029epoutp04773296c92d69bf9bf2ec38896be7e8aa~mP5QVty8M3244832448epoutp04U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523975429; bh=8O++vHLqYpoqjP1veEfsjKFnkGIjKcuBuf4dUms36sg=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=EF25hTq0ZO/tduAC3K8MBPFX2qQ1S8YPzbiGNFV6611Jy7+i7MuVdQ34g7wrsVQxN aaGPFJ8davS7aV0mp19z02yHzneyDiMwI2um6Gxz66cr40COnE+vstYT3O+mWcShG+ LpsYi44OE1kcxHw4JdAHSw3AMfq8kuGZlT4CKaqQ= Received: from epsmges1p2.samsung.com (unknown [182.195.42.54]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180417143028epcas1p2655663e1d72b27d650f58182dffbfdcc~mP5QEtZx62206322063epcas1p25; Tue, 17 Apr 2018 14:30:28 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id D6.C0.04034.40506DA5; Tue, 17 Apr 2018 23:30:28 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180417143028epcas1p459b6358287256a1c060ea95847ce9fbd~mP5PWS1zs2868328683epcas1p4K; Tue, 17 Apr 2018 14:30:28 +0000 (GMT) X-AuditID: b6c32a36-f57ff70000000fc2-26-5ad605044ee2 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A0.80.03849.30506DA5; Tue, 17 Apr 2018 23:30:27 +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:27 +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 2/8] spi: spi-s3c64xx: Remove unused driver data structure tgl_spi field Date: Tue, 17 Apr 2018 16:29:48 +0200 Message-id: <20180417142954.5507-2-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+NgFjrAIsWRmVeSWpSXmKPExsWy7bCmvi4L67Uog9+bTSwW/3jOZLFxxnpW i6kPn7BZ9D9+zWxx/vwGdotNj6+xWsw4v4/JovHjTXaLtUfuslscftPO6sDlcX3JJ2aPTas6 2Tw2L6n36NuyitHj8ya5ANYoLpuU1JzMstQifbsErozpizeyFEzgqlj5OL+B8QV7FyMnh4SA icTaJWdZuhi5OIQEdjBKXLt9G8r5zijxZOkX5i5GDrCqi91pEPHdjBJ/rq1nhHB+MUp8/H6L DWQUm4ChRO/RPkYQW0RATOL2nE5mkCJmgSYmidYH61hBEsICsRJds06zgNgsAqoSE9/NBGvm FbCSmLpxFhPETfIS7xfcZwTZzClgLbG/UwRkjoTAEjaJy6uPMULUuEhsXj8Vql5Y4tXxLewQ l0pLXDpqCxGuluhs62KH6G0BunraJTaIhLXE4eMXwe5hFuCTePe1hxWil1eio00IosRD4sCx SVCrHCWuzj8FDZU+Romltz8zTmCUWsDIsIpRLLWgODc9tdiwwEivODG3uDQvXS85P3cTIzhe tcx2MC4653OIUYCDUYmHV2LHlSgh1sSy4srcQ4wSHMxKIrw7HwOFeFMSK6tSi/Lji0pzUosP MUpzsCiJ8z71ORMlJJCeWJKanZpakFoEk2Xi4JRqYDz558d1WwPn7Y8f9G3YxrDsZuMS5efl a/0r3W/UX6iaoxCudXSeDnNevbvA995vk5geXz2/brbhTd5fz7hkS7vlJn1fOz05J/2kzIlj SsK1s98y7jqelX/qfYn8eyH7qNsXJZo/sayLK92S9D2AJT/86dvw8/9jhWO+XxTPWBtyLSno 4sKKpBtKLMUZiYZazEXFiQCfMUj70wIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOLMWRmVeSWpSXmKPExsVy+t9jAV1m1mtRBttu2Fgs/vGcyWLjjPWs FlMfPmGz6H/8mtni/PkN7BabHl9jtZhxfh+TRePHm+wWa4/cZbc4/Kad1YHL4/qST8wem1Z1 snlsXlLv0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBnTF29kKZjAVbHycX4D4wv2LkYODgkB E4mL3WldjFwcQgI7GSX2LbnBCOH8YpToeXgFqIiTg03AUKL3aB8jiC0iICZxe04nM0gRs0AT k8T7z5+ZQRLCArESXx+8YwGxWQRUJSa+m8kGYvMKWElM3TiLCcSWEJCXeL/gPiPIZk4Ba4n9 nSIgphBQybJ/ghMYeRYwMqxilEwtKM5Nzy02KjDMSy3XK07MLS7NS9dLzs/dxAgMrm2Htfp2 MN5fEn+IUYCDUYmHV2LHlSgh1sSy4srcQ4wSHMxKIrw7HwOFeFMSK6tSi/Lji0pzUosPMUpz sCiJ897OOxYpJJCeWJKanZpakFoEk2Xi4JRqYEzY9/rFZc+DS1+tbXrA8qNHuum1/ockpVTH oumevr07heZekBMOnHpmnYXl5sAVe4M8ptezXZt/6V79ZCH+Iy6c2ruNfurvX7n1NHtWWqGO 9bqY/mD5D3/PGLj0JNUu3bS6p5v/z2XrJl9uvpt6bvP3+Hhe3NG6+XOguuFGz6qNi1k15j5t DlNiKc5INNRiLipOBABl4yRLKgIAAA== X-CMS-MailID: 20180417143028epcas1p459b6358287256a1c060ea95847ce9fbd X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180417143028epcas1p459b6358287256a1c060ea95847ce9fbd X-RootMTR: 20180417143028epcas1p459b6358287256a1c060ea95847ce9fbd References: <20180417142954.5507-1-s.nawrocki@samsung.com> 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. Reviewed-by: Andi Shyti Reviewed-by: Krzysztof Kozlowski Signed-off-by: Sylwester Nawrocki --- 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 9a990bc3138a..f0e28adbbc32 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;