Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp162909rdb; Thu, 8 Feb 2024 02:09:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFLbbCHznNt0LdMoH/6zr3nc/8KHkGQb4lsOV7/7RDkOsthz6aHWvrRRN5+KCDGDTZFmrm X-Received: by 2002:a05:622a:3d0:b0:42b:f0c0:9356 with SMTP id k16-20020a05622a03d000b0042bf0c09356mr10399075qtx.45.1707386993814; Thu, 08 Feb 2024 02:09:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707386993; cv=pass; d=google.com; s=arc-20160816; b=gZOXN+7k1BTCJGIwOrj6+Ofz3GIDDK0e+LuRg7IWw2pg92q2xyKJdR4+rSYJDc21W0 enlZ3Ci8i8Nqw9oMTAx3DXgV4j8Ru5XemH6dDQbq8dltmwEPPH+pbd/xshc7W8dLrVI2 XPTvUN7tIzAxAI2zZ+1nJTjIGe3qginBYjr3oFDzS0TCXP2V8fW7cTlFrtO7ZahTjHTB XNlJ3kzpfH6fKUnOe5PMcXC8onQotIwij8CVC1xxt5O0Lz1TuW5eCLy3V7CIN5IeJElN hyAhBZSa56P8Kg8YazHJYU5Rmc+n7aAh/QwPRinToIX41AVr2NtvpUDBlOdugwirWO8v zApQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=rd93MnVRI+4Et5+3I2zmO2CaQBVzAxCXlauKCqEMrFE=; fh=l+U0r05G90BoW85/TfGrhVabytRTOncf3q2WRmQ1nLY=; b=jPXRy6fgfLJGcFpXY9Comxq+/3eLXSsLBwwvQso9VQcckz3vNTUC/dSHQgUAt1zAHF 1eMQxiOZOgRb7KtU8e4wydQ3X8phk4W+CusIfFp+ZVvt4H1X4xTqWtQJpoKJ16xLdHGX 8N0sdjQqlJ9EnOMo1nfq/E36rJoO9tiQnuovHm0B5WfTwYFOR3bndo4R+hNsmRp7j4QN CX38APv52VmsFEeeCyLDM175BUDcRm0jLchQspI8wHlnREBCoreL48bS96lxI7AqPCkx vyu566VhMNIgfEKQdm/5248q3iMtP/LBziWG79huYDP4vwjCo+6zjPzfa022eemimVhx VZcw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-57824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com X-Forwarded-Encrypted: i=2; AJvYcCVonN7vEvUxR8iuQrtd5HooZpcb9B/nDInjkksczoMg4QBH6Minyo7oDJvpfx+OaGT3d6dfuccuyntWETpyloHTX+btQaOgBpBJzURakQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u19-20020ac858d3000000b0042c5141cb05si54679qta.323.2024.02.08.02.09.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:09:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-57824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 48E701C28000 for ; Thu, 8 Feb 2024 10:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 450D66EB40; Thu, 8 Feb 2024 10:09:16 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15A116E2D2; Thu, 8 Feb 2024 10:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707386955; cv=none; b=Cx+yDUyWcHDbnc5kYCn3fFzJrTe+NNiLBxzakSJAis6SJoUn32SEz7oV95uT3X4GmaoMUUGJcmIjqY0PpLCORt10Jf8zBnHwD6DUAjzM/rGi23EVnveqFC1P66j5rie5olWHb8b7M6H8jhdB7vruC/udFR5fb6JYDd2VNcEIb/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707386955; c=relaxed/simple; bh=eX4H6MobqqX00wXLqxZ8M5ifpIIFJsbVcwdXpee0Yc0=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UfNxzpNtqZXiSbhjMlYz2f2X7MBw/qOn5CsVnd+ykpNLRm0Oo1RARW1cW4Hg4KNbhzSKslywPXZjxrc6CeaQtOfLPEpwz2Ch6XbexoMobgUoTj4VGTmXWVwRNz3JO5jqWGhia0ZSjhYQ6TnRNj3KEsH7F3xG6uysOZCVa613LGw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4TVt0Y26nlz6K610; Thu, 8 Feb 2024 18:05:49 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 85B33140595; Thu, 8 Feb 2024 18:09:10 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 8 Feb 2024 10:09:10 +0000 Date: Thu, 8 Feb 2024 10:09:09 +0000 From: Jonathan Cameron To: Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= CC: Mark Brown , , Moritz Fischer , Wu Hao , Xu Yilun , Tom Rix , , Subject: Re: [PATCH v3 01/32] fpga: ice40-spi: Follow renaming of SPI "master" to "controller" Message-ID: <20240208100909.00000432@Huawei.com> In-Reply-To: <6a3ddedc955cf55dddbc68ccf5ff5e46af5e8b6f.1707324793.git.u.kleine-koenig@pengutronix.de> References: <6a3ddedc955cf55dddbc68ccf5ff5e46af5e8b6f.1707324793.git.u.kleine-koenig@pengutronix.de> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) To lhrpeml500005.china.huawei.com (7.191.163.240) On Wed, 7 Feb 2024 19:40:15 +0100 Uwe Kleine-K=F6nig wrote: > In commit 8caab75fd2c2 ("spi: Generalize SPI "master" to "controller"") > some functions and struct members were renamed. To not break all drivers > compatibility macros were provided. >=20 > To be able to remove these compatibility macros push the renaming into > this driver. >=20 > Acked-by: Xu Yilun > Acked-by: Jonathan Cameron Looks like b4 or similar got carried away. I've no objection to any of these but the ack was only really meant to be for the IIO one. > Signed-off-by: Uwe Kleine-K=F6nig > --- > drivers/fpga/ice40-spi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/fpga/ice40-spi.c b/drivers/fpga/ice40-spi.c > index 7cbb3558b844..c0028ae4c5b7 100644 > --- a/drivers/fpga/ice40-spi.c > +++ b/drivers/fpga/ice40-spi.c > @@ -66,7 +66,7 @@ static int ice40_fpga_ops_write_init(struct fpga_manage= r *mgr, > } > =20 > /* Lock the bus, assert CRESET_B and SS_B and delay >200ns */ > - spi_bus_lock(dev->master); > + spi_bus_lock(dev->controller); > =20 > gpiod_set_value(priv->reset, 1); > =20 > @@ -94,7 +94,7 @@ static int ice40_fpga_ops_write_init(struct fpga_manage= r *mgr, > ret =3D spi_sync_locked(dev, &message); > =20 > fail: > - spi_bus_unlock(dev->master); > + spi_bus_unlock(dev->controller); > =20 > return ret; > }