Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1265030pxb; Fri, 10 Sep 2021 01:49:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPtHrXcVBwcpgjJui27UFC/Zd3rxofuwc6hyKcoCE9kuQU7ODe4W/AEG602dFCW+rut5RW X-Received: by 2002:aa7:c4ce:: with SMTP id p14mr7868223edr.175.1631263788430; Fri, 10 Sep 2021 01:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631263788; cv=none; d=google.com; s=arc-20160816; b=eWRcEffNgRjYMI6Z0VYbuedEUn7Wuhnb4kzoyAd72ciprFBzds6xArC/LgX+jn3WyF FnXy0eqrkSVqIGivQrCPA3WLQiSO2LjVfYaISjuu2nSA6GXWZFKFoz/1vriubqpD2P/T GxwY6KDyNli40ubc+QDjU1OdFpF9EYPssIdzLMHZZwn7fy4xRQP55otYjB72WIf2M4QH MsxJsyX3nORPHVaZPbIDLAKXRkNFoFYAYrzZaS8ZeaTKDvtBJLNfIlKcXWrzqVflWJAU Hgte3oKo0myDY+WqLDJtoYtl/6SzsFXGf+rzkLRO1TJUQ4Mgz7hWOpynx2kHMlqA/PK9 F+EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rOhfXC7sHBEvR7/dWcSMGOF2uz7Di1A6fzXYCY1IRpo=; b=FdkDxb3pmkiiYw0QinJ/k7N44fwgXcl5W3o3BuXsyEg2C4emIzKqsjtAKQZWlA9tvA /eDqI9imvxmNAZzTumZf31b3jH47WQawOoEX1Q2DNzeBNYzkIFl0Y+JlhgC0LMTAz0wP XC53HEIg2AGMvY0Y+3DQTXH6WJyosFU5eSRg0gt+fsSUkPGUCZPPUrO/AKMqpDY1UwtS tNePk6ur5Pu4fAZ0OL7jVxjFyPP9wqoFGYu68TYP7s30xkDaXwjnqqkXPrIKN66TLvzW tN1a7KZA6AsAeBhBwc4V7vzRqjqC1bsEOLTckyAfeF73NzABv/FfGyZBEvtQ0DhpMRYy tL+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=jnCPoZKd; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 6si5037334ejm.251.2021.09.10.01.49.22; Fri, 10 Sep 2021 01:49:48 -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=@cirrus.com header.s=PODMain02222019 header.b=jnCPoZKd; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231775AbhIJIsr (ORCPT + 99 others); Fri, 10 Sep 2021 04:48:47 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:44866 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231502AbhIJIsr (ORCPT ); Fri, 10 Sep 2021 04:48:47 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18A5VHLT013636; Fri, 10 Sep 2021 03:47:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=rOhfXC7sHBEvR7/dWcSMGOF2uz7Di1A6fzXYCY1IRpo=; b=jnCPoZKdhAqBc7q1gEzbchc9mSG0Ir7Id+t0DTjGY1lCpub7v/Jr1N84rTO6eENEzAj/ qMMNcXw1IvdiFn1khLgRYAWfQvV451daPlNUakDTPgHeF/7o3rn6ThWk5Jlsr6pvetQS GEP1r+HOLlIc3S0aLc1cs29z4HAaLTXQPb38eOHmYHuJ+OdcWHwnV9Z9bZhFnATTbHYr lOPRW9gdKSHq9jUapBMD6XUKp6LyKqLT0ZuqnuiDqxpOFb7o1ZwxiFgSYpgxyzjDujqe BsaZYr06GnWZDVuhj5pT86ilZQXUAHbZcKiS+mPpFYNOMaXg7ezR38K6H6sVgc+i0oSC GQ== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 3aytvr0uy0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 10 Sep 2021 03:47:33 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 10 Sep 2021 09:47:31 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2242.12 via Frontend Transport; Fri, 10 Sep 2021 09:47:31 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 8657A2A9; Fri, 10 Sep 2021 08:47:31 +0000 (UTC) Date: Fri, 10 Sep 2021 08:47:31 +0000 From: Charles Keepax To: Lucas Tanure CC: Mark Brown , Sanjay R Mehta , Nehal Bakulchandra Shah , , , Subject: Re: [PATCH 1/4] spi: amd: Refactor code to use less spi_master_get_devdata Message-ID: <20210910084731.GU9223@ediswmail.ad.cirrus.com> References: <20210909111005.304101-1-tanureal@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210909111005.304101-1-tanureal@opensource.cirrus.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: TTbCO2G_qxBwivlHGuUEcr5bZppdApW0 X-Proofpoint-ORIG-GUID: TTbCO2G_qxBwivlHGuUEcr5bZppdApW0 X-Proofpoint-Spam-Reason: safe Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 12:10:02PM +0100, Lucas Tanure wrote: > Get master data in the start and then just use struct amd_spi > as it has the needed variable > > Signed-off-by: Lucas Tanure > --- Reviewed-by: Charles Keepax Thanks, Charles