From patchwork Wed Feb 7 18:40:36 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: 198054 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2436414dyb; Wed, 7 Feb 2024 10:51:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQ9EiBg+Ah145JKD/REcH3O1jVTw8dEte3VxmglC8NqDO2i8PFSz35nXRaX++S4AmhDh97 X-Received: by 2002:a05:6358:52c8:b0:175:4f0f:bbab with SMTP id z8-20020a05635852c800b001754f0fbbabmr3221644rwz.22.1707331887546; Wed, 07 Feb 2024 10:51:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707331887; cv=pass; d=google.com; s=arc-20160816; b=wNOgamb7CeAeu2DZGeisQaf6P8LHbEzKz6aG4qXk3mqNxWnmBms1GjHLwkFfrPZ8En UHb4NjZebcEsKoj4BeXCp6bU8QvABDsmUFkEmoZJFoLhwazuD3yjujBQuFAEV/0lzhkt u3/EQlzKwMGTqUxw4wNS31gXMkXHybH0OxBvePQXp+y3Nf0cDsyzQv7g6NTf84dL9yHe Wzsl2TIX5wIvG0b7wtt9daSaW+EG5bEYsglSRmZJNBlUUEKG6XMwP9+0M9fX221XdfmU nvwl5jU4+LF/wKK5UYIf63mzq7IfYYXNJQbBNCcTZR2quZ11v3eYZPt9WNsoJWSh4BYE vUQw== 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=quRJnmkDZn/DyNy9ZjKR7aLBFYFwxvv6BpYEgb/O7J4=; fh=BPEmdXaW2WVIGfVbInjvIoteqp5QSuCn3HzY/ZIkLAg=; b=NMRYNbHxF0CBBKTZDuImZwkPxBktZ41ln0BG5j90cgwZHWsqG0HFMyTmMJd7tnlsMc ySU5IvGF0m8Oila2W3dl8Votow5k7V4nMcCLoV0PJ5TzndWVKIzHIYEfcIaI7r2+VUfp ChaQN3LmHsvLyq2v9yTZ44Rs9MpvYgaVauYfovDe5oF4gY9DkzlgXH4ipWRhOc7h582M CRDkezPyFATlWycGQ0vbRfN5TFHuhXIA2sFkYv5qJOB4/abfmif+9WZv4Ih2Yf4wiDrz dk4CuCx0Lm0yxstPR7RNTpkBRqQ96ydMLF1fKrYlDMPQY32JyrCWuY2kJ7fmZF+0JUVI UfZw==; 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-56936-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56936-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXmxwN4y1rQvq0pRsASyGdT7xANjE2NPSCxK/WjWZlx57KBKFX/jztDjtIqBnsY32/Pdw0c3HP37k8eELlRWy3gUx8Ktg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bx38-20020a056a02052600b005dc1004e0b7si2274071pgb.100.2024.02.07.10.51.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 10:51:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56936-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-56936-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56936-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6E207285777 for ; Wed, 7 Feb 2024 18:50:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C336A137C2A; Wed, 7 Feb 2024 18:43:37 +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 CD749127B50 for ; Wed, 7 Feb 2024 18:43:23 +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=1707331406; cv=none; b=cPwl5fKIXbSxyNigWGnZKgKvwS79qIrd7IeDgla9FXq0KCSbJpIpJfLbP1Fz7F/SWTXxwkINbBDEMQwy0Y9Quafj8M641KY/yuydrUe9iHHJBuUkug5wu4uPg6yFY417C84Ke8/PBhU18NItVeS8gS+Mh9GmA86ohlHcyAziCCo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707331406; c=relaxed/simple; bh=b8hJWsXG7Bt5TUY+X52F0IkO1iwX1T0dZ3MvwIZs37k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RsTIHTvcBFvCKxdMq3D4kEevv3Y2UYmYJfAzvRiSDuY7GkVvfOWNx2gxb0ZRjfcIF74RyrVLBPgAXDQhCyP70qD40/Nx+VqlgpP/WcQdc9nZ6rrvnXR0Vtyz8Q+MGf1QUn8QzMLZrwwBrU3KrXRFfB4yopyFaX1E//px2RbZbMo= 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-0007n4-UD; 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 1rXmtA-0054YD-HY; Wed, 07 Feb 2024 19:43:16 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rXmtA-00HRtH-1T; Wed, 07 Feb 2024 19:43:16 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Mark Brown Cc: kernel@pengutronix.de, Matthias Brugger , AngeloGioacchino Del Regno , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jonathan Cameron Subject: [PATCH v3 22/32] spi: slave-mt27xx: Follow renaming of SPI "master" to "controller" Date: Wed, 7 Feb 2024 19:40:36 +0100 Message-ID: <184a5263af2ec01fd5ad9b8db667ae4d6cbec948.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=1067; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=b8hJWsXG7Bt5TUY+X52F0IkO1iwX1T0dZ3MvwIZs37k=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlw86+8M4z7ERGC2YgRKokbc/1ZH/C1sXCVRmPZ XTYGPhpNgGJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZcPOvgAKCRCPgPtYfRL+ TmcaCACj305jhazD0RSq3hnVuvKMFTMwKAxXuATdDX9fNjoi1fZmS/EjF5gydXvOaAb8/h6xk+W eB+R0dxz8VSGW9YMH7spESk2HLI1iB9Mx3vxHX4QNKHLQCPPkCDFVMumo4p8/WLPjVHTRIwU992 OPufbaki9gmJYvRrv8ldt21O/Zln8Iw3NDi+YZj84KbAWt2IenMbzv7fDYKXDanziq+ZwSbl5eZ ba9ybtmbZ516KNm41OUp9AXuZpET3PIlaZgq4Uvv63GG4RT5mKTMG1w9M/t6qxXfSBlrtH6WgDt WNb/XJQTPwlXyRbGO+Jxm1qimx1DIJonJ+se/v+lQFg2lqJX 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: 1790267240939507729 X-GMAIL-MSGID: 1790267240939507729 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-slave-mt27xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-slave-mt27xx.c b/drivers/spi/spi-slave-mt27xx.c index 6d6772974783..f1ddf4c099a3 100644 --- a/drivers/spi/spi-slave-mt27xx.c +++ b/drivers/spi/spi-slave-mt27xx.c @@ -297,7 +297,7 @@ static int mtk_spi_slave_transfer_one(struct spi_controller *ctlr, static int mtk_spi_slave_setup(struct spi_device *spi) { - struct mtk_spi_slave *mdata = spi_controller_get_devdata(spi->master); + struct mtk_spi_slave *mdata = spi_controller_get_devdata(spi->controller); u32 reg_val; reg_val = DMA_DONE_EN | DATA_DONE_EN |