From patchwork Thu Apr 16 11:08:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Cl=C3=A9ment_Leger?= X-Patchwork-Id: 11492775 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4E979913 for ; Thu, 16 Apr 2020 11:31:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2C84121D7F for ; Thu, 16 Apr 2020 11:31:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kalray.eu header.i=@kalray.eu header.b="ZR0st7j3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2633298AbgDPLaz (ORCPT ); Thu, 16 Apr 2020 07:30:55 -0400 Received: from zimbra2.kalray.eu ([92.103.151.219]:44784 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2506137AbgDPLJI (ORCPT ); Thu, 16 Apr 2020 07:09:08 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id D366527E0B5E; Thu, 16 Apr 2020 13:08:41 +0200 (CEST) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tE2nbCn87b3q; Thu, 16 Apr 2020 13:08:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 89FA327E0B48; Thu, 16 Apr 2020 13:08:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu 89FA327E0B48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1587035321; bh=CgbnTswji1oQ0xqt//3zV9OilQBy92rJwtf72ywek/U=; h=From:To:Date:Message-Id; b=ZR0st7j3UUiNtdzZJ51mKQNJV+gO4DcRAppsKwkbyxT1eK8j/dSCAOhmZCJCnzkws KPZiRtuMpSo2uXvLJZAu1sfowcN+UUf3GxIRMOGpc9O4j+fkHEct5hOzkbi7zBNkGz 7OYvKMwyrP3EdjDRlZ/LoZxo1PDxsRecmWTxuq9U= X-Virus-Scanned: amavisd-new at zimbra2.kalray.eu Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4gA3PP6zqAWx; Thu, 16 Apr 2020 13:08:41 +0200 (CEST) Received: from triton.lin.mbt.kalray.eu (unknown [192.168.37.25]) by zimbra2.kalray.eu (Postfix) with ESMTPSA id 6BCF027E02FA; Thu, 16 Apr 2020 13:08:41 +0200 (CEST) From: Clement Leger To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Leger Subject: [PATCH 0/2] Cleanup chip info in spi-dw driver Date: Thu, 16 Apr 2020 13:08:23 +0200 Message-Id: <20200416110823.22565-1-cleger@kalray.eu> X-Mailer: git-send-email 2.17.1 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Some mechanisms have no more user, and as such code paths are unused. Remove these code paths and associated structs members. Clement Leger (2): spi: dw: remove unused dw_spi_chip handling spi: dw: remove cs_control and poll_mode members from chip_data drivers/spi/spi-dw.c | 57 +------------------------------------------- drivers/spi/spi-dw.h | 12 ---------- 2 files changed, 1 insertion(+), 68 deletions(-)