Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp29684rdb; Mon, 22 Jan 2024 10:52:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUw0EF1iJ7Lsge6HIznYJgKM5DPpr9h72jieeETjB04E4LkN68NSgKpobGKQ1DyU9ofelf X-Received: by 2002:aa7:888c:0:b0:6db:cd1:ef18 with SMTP id z12-20020aa7888c000000b006db0cd1ef18mr2988508pfe.18.1705949556969; Mon, 22 Jan 2024 10:52:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705949556; cv=pass; d=google.com; s=arc-20160816; b=vvcBchaHGYXpd3YUEYovt1VTnaw8thmR4MLmbGbnWM7MwuJpDTfFkwqKb4TBiBAqWq B+eOVVmYUhTZOVM81O+u06rhixlkO2BDf2H17pWdZ/HI7w+lmdYUidxBt6k96jTTPWLb OByizkcQUQ+S5gDDTAqYr2U8C/YFa27q0J2/lzlXhCZXKj66GQ6Ktx8e5H6HQbWAfq56 rtigeowoxg6jhmr9UjeUgVm0fyYA64/Om1jjz82P9WQkORSJ4zc8qZ9nQm7l+n7urm0L kCLnvkDjWJcYZBiPnjdk5nJ/sq04IW3ErsRZki0URzc541otuo5EB4XeMcP5kHy5Qpcm UL+w== 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=Xjz205kwzJuuh+fas2NR1g2vtuEOc7c6hwbFjh9AJSc=; fh=IaLDBG5sAufsTrtQEjWISJ4PaylDNf6qnglROOvOpGE=; b=P5kzthR4DP0+pNOXRNw1IepFTB1gnisZ/iaxLDfpLs4/8GScG6Xc/liJdAZpftEibd ZYf5l6HAkM7vI6Df+NrS1KH1vxncnO5Wtfgb/NJmeuntcl7RShQaoHTrp/nLuEVp/ac+ yXcfNrvTH7JOcKJr8jOOMFDReXdUqnbsPrP7eEGtD4l+pMS+iuK0SbY3SzZYZlxebIcb 3ciBSKTT+VMH1nygmI/qaYlEJEkurcWc3WmGAlCCbYCFE7Tk6NoKHneXGM/BwdhEoKBy k11sWAAKJKGmWv1vk6VMrgyIgNZRpeP2Re9vtCcf6eOJf/yKzFpqemi3giWeAGfsPsfg m1Qw== 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-33925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33925-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h8-20020a056a00000800b006dae568dd5bsi10478132pfk.273.2024.01.22.10.52.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 10:52:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33925-linux.lists.archive=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-33925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33925-linux.lists.archive=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 DA7D92841B7 for ; Mon, 22 Jan 2024 18:40:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0173460ECA; Mon, 22 Jan 2024 18:08:32 +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 C00C960869 for ; Mon, 22 Jan 2024 18:08:27 +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=1705946910; cv=none; b=XIxRCCK17SfpuNTv4YY2dOjyIvtCKkMsv5JoEtUakAJi1g/39l7v38kWidZ1G6kIvHe7S988Eqmk9sqRgtAAZy71qCEGH4pWw00WiEYHoBhomvkZ6tvefG8sDvwW5ms4+Fibxz9C+iGxqEIOogyR66lWGVRHAwhcXBs/Eo2PXQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705946910; c=relaxed/simple; bh=9RamQld7ehDahTK1UAe+GkwrSp24P4ucFsRrUBlQgRI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EgRGLAVxBnnlWZdxG15M5X4eKpD4lCwKuOgxWiEWktg5bJx/gXe/B4AtY3XqbYv4dEqBhPt3AIsanuTvx0QZO17/TEVCx3JZWDoW7trytOM3gD3+EsVvgqK3YrKfWoT+i1oYgOSaUn6jR4NQkRk0ZaH27h/3HLuoT+XsH/05aU0= 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 1rRyiY-00022q-4p; Mon, 22 Jan 2024 19:08:18 +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 1rRyiX-001eQd-FM; Mon, 22 Jan 2024 19:08:17 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rRyiX-005ZyN-1F; Mon, 22 Jan 2024 19:08:17 +0100 From: =?UTF-8?q?Uwe=20Kleine-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 Subject: [PATCH v2 23/33] spi: slave-mt27xx: Follow renaming of SPI "master" to "controller" Date: Mon, 22 Jan 2024 19:07:18 +0100 Message-ID: <5d38a6928cb52f1f72da3a3069636c420be93ddc.1705944943.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 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1009; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=9RamQld7ehDahTK1UAe+GkwrSp24P4ucFsRrUBlQgRI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlrq7ezVtCxdQJo7xIAHnqBkmO28zJGhR9iaAqW 39326TPkWyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZa6u3gAKCRCPgPtYfRL+ TpB6CACmf7xWf34DoKNKKG5cpSdxgfw2m7go8IrZPUJY5DQGXLgKpbSDElPwAo1tD9jUtQraXk1 FHGu0y7BmPEZBGmFIVM9imtJJ+zAEO2C1Y+06g9zi2sMIv2cNfgIEu6/keKijoXlUuUFWYuIOZJ tlK5AN/phgxZ3AvDEZUsuB2YSf7w/Lf0qD5V4PXd2pWw/wd6HZ7kjEtGRJrkpRI47XRE9mo+e5Y hjrBTN/y8xjwGHMxXWUatlR5FRi3cqV3BsAk9eIIh+ZsaVLkFfq5WHPAaE+05sx1nwkux4yrxt9 FtUtq6P81lgUzCdn4zRTA+4inO+9uaLOs84VQd0BMPM8MrCi X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit 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 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. 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 | -- 2.43.0