From patchwork Wed Feb 7 18:40:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 198066 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2437594dyb; Wed, 7 Feb 2024 10:53:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqQaigRtL1Duou4+ouF0WpXJomyt2PTo1WvbusbbQdwp87ghGp/HgTeyG1jNFz+oVALDFd X-Received: by 2002:a05:6a20:1614:b0:19e:a9e6:bfd with SMTP id l20-20020a056a20161400b0019ea9e60bfdmr1775581pzj.0.1707332025494; Wed, 07 Feb 2024 10:53:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707332025; cv=pass; d=google.com; s=arc-20160816; b=gLPDp73C4PJl2bbcPbWO3duSv1FoMnwQsb0YCaB41Hr19DmWa21yiyCv26MUIyrTE9 glcdaEiQ4jzpM5aCgP/RD4BwlkLRB1JMqjHDxasUM00hpHqEI31CCW2d8vlEClPQh86T jD/6BcJaVMFgr85MjPuo64qWgFjtwnC2C6nyu5b2it7M8qQ1RExX1GVz5iOJD346xx56 TaqCzzJKDahyfVbJA/jt8KcoG/6iSLg46rxotLe4QywfRBPPuquJDxKVV9c7VzvPr9IY GoA7xllbpi4MN+bnOoRmIBxeYc+7ZFFkcJgSNQvq/4J0yV3cI+pFd30pj0ZMMl4ISjYF /Kug== 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=GRTElm7ZMZUvH1KMzMmsuaOsQcCv3HgHw4G4lRycApo=; fh=U2jfzA5UZI+C4Vq1V52a9rr4qoysIF2VhdfmB0nnrlM=; b=FJvtnQYA6ALl/kERjQP2emdfJRKlgv5EK4RosO0f6TKt4VYsCjOe6H7zfjDS5ml/p/ EGbMYOF08U+DOvyggEvX7Wshi/qpjqyE9ohBo7tGq30XehW7SrKNR4YLN2WlPWrSoBUJ K55yCYs5RHi8YXnIAtyYFisRjtw4uaERZP/sn1W+wB6kT4w/ZxIVT8ldRf7CNrCE3+JI qs09SVn2dvKXiZ8e5LmJWMn7+Sj4zO57QrB0md3UT7f0oo96VNT+2q0C13Tw2NbxBwJd 8Qjc1JaN3pHKjVFgl/i5lMuPiCdmuHY6tnPS0/bc5w1bcnxQN2vT9GD+A37RvtumCaF0 A5hg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-56930-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56930-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXHRBVbj0vdSuFMJcPfzlN6j7Yn4i6uGoqoHieHgsd+UeOGZN0oogNQKDE22x5sv4M+oudJ5CYd8f0hZ5VJIPxq5yWutQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id pc16-20020a17090b3b9000b0029637bd9b10si1591227pjb.90.2024.02.07.10.53.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 10:53:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56930-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-56930-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56930-ouuuleilei=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BBA47B24E0D for ; Wed, 7 Feb 2024 18:46:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBC5512C7E6; Wed, 7 Feb 2024 18:43:30 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 EE98285C4F for ; Wed, 7 Feb 2024 18:43:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707331404; cv=none; b=ItN5F9Hwo6G5DMoX5oyis/S2YnGn8767+qImG8XyM9T1NZ6uKYrZ9ekMf4S+2lruK+OQ/gJv5l9cuofslCzLChMjXRAgscZfORX7KhaYjDKC7w6zINtISKptMK3B+SLaKvdJyEgGVf92FJ6P48sTPAqGY4UvsoqyQLT3sTYTigE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707331404; c=relaxed/simple; bh=eaa/MnI0DUDOZ12mwRQxd64w0nmqvV1lJGMXGlfIdDw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=CHsXt2avDaqYjwiuhdke4BT6AYW0peLOKPNxt5h1SYjW0B/B4A9tGY7CKo2N6+oFypycLQLzJ1htCiqnSFPYF+11M9oNuDnfqw7oP2FKMVSR0lzZqhW9+9XTMRqTlyIlKZcOXc4dlBnJAlRlgY90m02baji/x9NhIcnLs+C21KU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rXmtA-0007mn-Bb; Wed, 07 Feb 2024 19:43:16 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rXmt9-0054Y8-VT; Wed, 07 Feb 2024 19:43:15 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rXmt9-00HRtD-2t; Wed, 07 Feb 2024 19:43:15 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Mark Brown Cc: kernel@pengutronix.de, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron Subject: [PATCH v3 21/32] spi: loopback-test: Follow renaming of SPI "master" to "controller" Date: Wed, 7 Feb 2024 19:40:35 +0100 Message-ID: <2f57c89d601d0875cd245a2e95c915b9bfcfc47d.1707324794.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1142; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=eaa/MnI0DUDOZ12mwRQxd64w0nmqvV1lJGMXGlfIdDw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlw8641Pe+KdDSJAh2X8RAmDm8QNhzSllf38cQK ARB/tjhJFiJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZcPOuAAKCRCPgPtYfRL+ Tu9VCACKxH+TxatW/iKQ1TPthFJ1VJEQS5Oi0IQmKYZrj3L2fn2uRf0/Zo4QxpBgxuDmbi2B8DH r7kKvxo3GlfghaS+qjedeyDDxU/Mh5W54c5m4rCV+baTyG1HUkhIwWzb7BIeDlSQEdBgVGfYhM3 dZscvUuqNJW08c0XJzDBzBnKxI4umgz8FnccpU+zv/5x/yBZJH/g8yjQgb8Pbt2/Laf+nmaNZ9L yCCvXv1uyAjCIBJsHyZq/sTfLATujsISB84PWrnjE1hB69qVYl4MiQCxCbMt+01Knb+PHQDDEZ4 zo+ypQ5yCwxW2NESg/3KjnFhZ6JdkMYXLKFE12859+VFx+bn X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790267385896291261 X-GMAIL-MSGID: 1790267385896291261 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. To be able to remove these compatibility macros push the renaming into this driver. Acked-by: Jonathan Cameron Signed-off-by: Uwe Kleine-König --- drivers/spi/spi-loopback-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c index bbf2015d8e5c..fee8893d2751 100644 --- a/drivers/spi/spi-loopback-test.c +++ b/drivers/spi/spi-loopback-test.c @@ -1031,8 +1031,8 @@ int spi_test_run_test(struct spi_device *spi, const struct spi_test *test, #define FOR_EACH_ALIGNMENT(var) \ for (var = 0; \ var < (test->iterate_##var ? \ - (spi->master->dma_alignment ? \ - spi->master->dma_alignment : \ + (spi->controller->dma_alignment ? \ + spi->controller->dma_alignment : \ test->iterate_##var) : \ 1); \ var++)