Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1598347ybz; Thu, 16 Apr 2020 12:01:32 -0700 (PDT) X-Google-Smtp-Source: APiQypJkNyzfGdpdH42PsB9t++kd4CUVllFnI100FwqJgAZG0emc6R39TswloVF1ZUkkj8p3LDQi X-Received: by 2002:a17:906:f251:: with SMTP id gy17mr10285591ejb.369.1587063691553; Thu, 16 Apr 2020 12:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587063691; cv=none; d=google.com; s=arc-20160816; b=EjcbEBTFhXq2K2DSeJDS4qtdcfnJynaFIWRRbKnznGwKEdze+sDVR1bHs5+OlMuCFh 3eMlJRx/bVcu1qoqA5xLOCdS8/atEOduQQfznuCHbvoBR63fXTx4kfCOVeCjz2+lupTT Mb0QxIY1sfOUFtBUcqd3EaPbkWoRN19pliPlE7GAei9elztnnz3hHGcfYGmiHbLhBclL OFtSi+iYIgV6ud3NNHANTrExzEPrgt8aCAPv3sGGd8tibLl+0lpFBWgUU3zthDswojOm 96kgWlEQcLDAx25DMbyNn6YrZ/fiXI6Tg8gvZ2nndl7odFewdTcShXq9GeIzbqCickrM 6LZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=IEN1YktaK7OWo6K7p+mOx7diRfRYFSXuqlkVlg08xv4=; b=m5pNtCDe1vAKOy6xigJaQtRXhBnAFDV6jLhxnY91ESVL+gP0pHQ9olJX9cE/lTxpHS ui+7LnEc+S8jGVAvGZ11csxkRpPC8fmvztNHF+wYGP/Ix/kXVrdZ0V6MibiFYzHM6vJT 5RVVy+02RHIumAMX2IXUpuDe69VFOv7dt8PRkEf8oK8H7R1UQDJt8EISlNt20pTqcXMk UuYDsSXKZhuPQrW+geGSuQFkDpPrceVo2GiaInjnpyiVLf3rM6I9tDdeKx6UqWJPcK31 5MIqWl+bfbf7dqkr8VMFNDcyHgbv5nIP7jNt7Aw3ijRFwUm6Ytu4eaP+z7Bo1uWgjsy9 Djxg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk4si11515333ejb.529.2020.04.16.12.01.06; Thu, 16 Apr 2020 12:01:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2506648AbgDPLvE convert rfc822-to-8bit (ORCPT + 99 others); Thu, 16 Apr 2020 07:51:04 -0400 Received: from zimbra2.kalray.eu ([92.103.151.219]:37286 "EHLO zimbra2.kalray.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2504790AbgDPLu5 (ORCPT ); Thu, 16 Apr 2020 07:50:57 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 9DE8127E0B48; Thu, 16 Apr 2020 13:50:55 +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 h6uaCYF89kXr; Thu, 16 Apr 2020 13:50:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 69CD127E0B5E; Thu, 16 Apr 2020 13:50:55 +0200 (CEST) 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 ufvqwe-r4Gu5; Thu, 16 Apr 2020 13:50:55 +0200 (CEST) Received: from zimbra2.kalray.eu (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id 56C0127E0B48; Thu, 16 Apr 2020 13:50:55 +0200 (CEST) Date: Thu, 16 Apr 2020 13:50:55 +0200 (CEST) From: =?utf-8?Q?Cl=C3=A9ment?= Leger To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel Message-ID: <622416308.15749883.1587037855167.JavaMail.zimbra@kalray.eu> In-Reply-To: <20200416113539.GG5354@sirena.org.uk> References: <20200416110823.22565-1-cleger@kalray.eu> <20200416110916.22633-1-cleger@kalray.eu> <20200416110916.22633-2-cleger@kalray.eu> <20200416113539.GG5354@sirena.org.uk> Subject: Re: [PATCH 2/2] spi: dw: remove cs_control and poll_mode members from chip_data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [192.168.40.202] X-Mailer: Zimbra 8.8.15_GA_3895 (ZimbraWebClient - FF68 (Linux)/8.8.15_GA_3895) Thread-Topic: remove cs_control and poll_mode members from chip_data Thread-Index: H1Aqi4omUkzlnJc0pg+nDZ3opzqhcA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, Sorry, maybe the commit message was not clear enough but actually these fields were not initialized so it does not break anything (ie, the default values were always used). Clément ----- On 16 Apr, 2020, at 13:35, Mark Brown broonie@kernel.org wrote: > On Thu, Apr 16, 2020 at 01:09:16PM +0200, Clement Leger wrote: >> Since these members were initialized only with previous dw_spi_chip >> struct members and that there is no user anymore, remove them. Along >> this removal, remove code path which were using these members. > > This means that your first patch will break the build, to keep things > bisectable please do some combination of moving this before the first > patch and squashing it into the first patch.