Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1180931ybz; Thu, 16 Apr 2020 04:33:13 -0700 (PDT) X-Google-Smtp-Source: APiQypIoxzE7twdETCd93y4gPGrQUazy3JFpqNrgkLuVOepodPQ5YzAqJ7upf6ZVtooOgI5bxLtK X-Received: by 2002:a50:c25a:: with SMTP id t26mr28963478edf.20.1587036792974; Thu, 16 Apr 2020 04:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587036792; cv=none; d=google.com; s=arc-20160816; b=TMJENGhzzAo3TpciSFBacGiOnrHBK6vE/a8bhdVc+xPnMgp+6CsDk1qitf9sTTySjd Tx5mrCGcbXsoGlWfaJXeC7XNlvE8DRVjAzcN6b78k9EF3r7AVfVyFVDc++hoT5WS12kd Pmg/2DocHNdpDwwuFuWaLUYlW+uiOfZzSB0q53L0jyWa/uvhaao7f4dxt4wYMuQb8xp5 SLTJaz2GqS027xOzuVv0DPLxLUfWbMh/KtlXyqXgdmS4LCzy2RqIUdJz/sPNK66URRTc FZIzHciZD7CyapcsaN9fg5/puaTYorQry6M+7irqKw0iAVKj0rKMl+sv6zI+VyaJq9Yf cOpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=CgbnTswji1oQ0xqt//3zV9OilQBy92rJwtf72ywek/U=; b=El+/QOJN7tVnptSlNrJ1Y3vqWjiJUKDVNzgwHNEkO/71rd9aJz59R0ietee1LalIro O8os9aVmCebJGqJYGbjNJ5b0F5/8Khhv3ky4XAU/234SfuEjYCQKnzhrbdE4YzdwgBNr EbO1MIDliCG+6vV2C5bnYGnuRZRgzE2CdYh33Xpf9nlGwvZX5X9MA8+gcpGBG0gRNcoG kC1etRdnZzzpSAF1VchYcKHm1DfQAd8GjDCICR2wi14Hee5daGU9ri1bjmsMTD7mwbY+ JGjIZdLjwxaXfKwTfNXa8d8eh0GxR8oEHWqj9/m9TUrA2NNhRGE/I9EfNe4eoZVZLT8Y AdJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=ZR0st7j3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si265072edu.7.2020.04.16.04.32.50; Thu, 16 Apr 2020 04:33:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kalray.eu header.s=32AE1B44-9502-11E5-BA35-3734643DEF29 header.b=ZR0st7j3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kalray.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2506305AbgDPLbY (ORCPT + 99 others); Thu, 16 Apr 2020 07:31:24 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.17.1