All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Mark Brown <broonie@kernel.org>
Cc: kernel@pengutronix.de, Moritz Fischer <mdf@kernel.org>,
	Wu Hao <hao.wu@intel.com>, Xu Yilun <yilun.xu@intel.com>,
	Tom Rix <trix@redhat.com>,
	linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: [PATCH v3 01/32] fpga: ice40-spi: Follow renaming of SPI "master" to "controller"
Date: Wed,  7 Feb 2024 19:40:15 +0100	[thread overview]
Message-ID: <6a3ddedc955cf55dddbc68ccf5ff5e46af5e8b6f.1707324793.git.u.kleine-koenig@pengutronix.de> (raw)
In-Reply-To: <cover.1707324793.git.u.kleine-koenig@pengutronix.de>

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: Xu Yilun <yilun.xu@intel.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/fpga/ice40-spi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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_manager *mgr,
 	}
 
 	/* Lock the bus, assert CRESET_B and SS_B and delay >200ns */
-	spi_bus_lock(dev->master);
+	spi_bus_lock(dev->controller);
 
 	gpiod_set_value(priv->reset, 1);
 
@@ -94,7 +94,7 @@ static int ice40_fpga_ops_write_init(struct fpga_manager *mgr,
 	ret = spi_sync_locked(dev, &message);
 
 fail:
-	spi_bus_unlock(dev->master);
+	spi_bus_unlock(dev->controller);
 
 	return ret;
 }
-- 
2.43.0


  reply	other threads:[~2024-02-07 18:43 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 18:40 [PATCH v3 00/32] spi: get rid of some legacy macros Uwe Kleine-König
2024-02-07 18:40 ` Uwe Kleine-König
2024-02-07 18:40 ` Uwe Kleine-König [this message]
2024-02-08 10:09   ` [PATCH v3 01/32] fpga: ice40-spi: Follow renaming of SPI "master" to "controller" Jonathan Cameron
2024-02-08 10:28     ` Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 02/32] ieee802154: ca8210: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 03/32] iio: adc: ad_sigma_delta: " Uwe Kleine-König
2024-02-08  8:14   ` Nuno Sá
2024-02-07 18:40 ` [PATCH v3 04/32] Input: pxspad - follow " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 05/32] Input: synaptics-rmi4 " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 06/32] media: mgb4: Follow " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 07/32] media: netup_unidvb: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 08/32] media: usb/msi2500: " Uwe Kleine-König
2024-02-12  8:50   ` Hans Verkuil
2024-02-07 18:40 ` [PATCH v3 09/32] media: v4l2-subdev: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 10/32] misc: gehc-achc: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 11/32] mmc: mmc_spi: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 12/32] mtd: dataflash: " Uwe Kleine-König
2024-02-07 18:40   ` Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 13/32] net: ks8851: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 14/32] net: vertexcom: mse102x: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 15/32] platform/chrome: cros_ec_spi: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 16/32] spi: bitbang: " Uwe Kleine-König
2024-02-07 18:40   ` Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 17/32] spi: cadence-quadspi: Don't emit error message on allocation error Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 18/32] spi: cadence-quadspi: Follow renaming of SPI "master" to "controller" Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 19/32] spi: cavium: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 20/32] spi: geni-qcom: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 21/32] spi: loopback-test: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 22/32] spi: slave-mt27xx: " Uwe Kleine-König
2024-02-07 18:40   ` Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 23/32] spi: spidev: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 24/32] staging: fbtft: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 25/32] staging: greybus: spi: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 26/32] tpm_tis_spi: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 27/32] usb: gadget: max3420_udc: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 28/32] video: fbdev: mmp: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 29/32] wifi: libertas: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 30/32] spi: fsl-lib: " Uwe Kleine-König
2024-02-07 18:40 ` [PATCH v3 31/32] spi: Drop compat layer from renaming " Uwe Kleine-König
2024-02-09 15:24   ` Andy Shevchenko
2024-02-09 15:48     ` Mark Brown
2024-02-09 15:54       ` Andy Shevchenko
2024-02-07 18:40 ` [PATCH v3 32/32] Documentation: spi: Update documentation for " Uwe Kleine-König
2024-02-09 15:23   ` Andy Shevchenko
2024-02-08 21:21 ` [PATCH v3 00/32] spi: get rid of some legacy macros Mark Brown
2024-02-08 21:21   ` Mark Brown
2024-03-25  1:54 ` patchwork-bot+chrome-platform
2024-03-25  1:54   ` patchwork-bot+chrome-platform
2024-03-25  2:13 ` patchwork-bot+chrome-platform
2024-03-25  2:13   ` patchwork-bot+chrome-platform

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a3ddedc955cf55dddbc68ccf5ff5e46af5e8b6f.1707324793.git.u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=broonie@kernel.org \
    --cc=hao.wu@intel.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mdf@kernel.org \
    --cc=trix@redhat.com \
    --cc=yilun.xu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.