From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Mark Brown <broonie@kernel.org> Cc: kernel@pengutronix.de, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Rob Herring <robh@kernel.org>, Heiko Stuebner <heiko@sntech.de>, Michal Simek <michal.simek@amd.com>, Amit Kumar Mahapatra via Alsa-devel <alsa-devel@alsa-project.org>, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: [PATCH v2 12/33] mtd: dataflash: Follow renaming of SPI "master" to "controller" Date: Mon, 22 Jan 2024 19:07:07 +0100 [thread overview] Message-ID: <63d7d1f1e6fe564daf034c66eb3073aa265b7969.1705944943.git.u.kleine-koenig@pengutronix.de> (raw) In-Reply-To: <cover.1705944943.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. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> --- drivers/mtd/devices/mtd_dataflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 0c1b93303618..ec52277e3dd5 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -638,7 +638,7 @@ static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages, /* name must be usable with cmdlinepart */ sprintf(priv->name, "spi%d.%d-%s", - spi->master->bus_num, spi_get_chipselect(spi, 0), + spi->controller->bus_num, spi_get_chipselect(spi, 0), name); device = &priv->mtd; -- 2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Mark Brown <broonie@kernel.org> Cc: kernel@pengutronix.de, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Rob Herring <robh@kernel.org>, Heiko Stuebner <heiko@sntech.de>, Michal Simek <michal.simek@amd.com>, Amit Kumar Mahapatra via Alsa-devel <alsa-devel@alsa-project.org>, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: [PATCH v2 12/33] mtd: dataflash: Follow renaming of SPI "master" to "controller" Date: Mon, 22 Jan 2024 19:07:07 +0100 [thread overview] Message-ID: <63d7d1f1e6fe564daf034c66eb3073aa265b7969.1705944943.git.u.kleine-koenig@pengutronix.de> (raw) In-Reply-To: <cover.1705944943.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. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> --- drivers/mtd/devices/mtd_dataflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 0c1b93303618..ec52277e3dd5 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -638,7 +638,7 @@ static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages, /* name must be usable with cmdlinepart */ sprintf(priv->name, "spi%d.%d-%s", - spi->master->bus_num, spi_get_chipselect(spi, 0), + spi->controller->bus_num, spi_get_chipselect(spi, 0), name); device = &priv->mtd; -- 2.43.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2024-01-22 18:08 UTC|newest] Thread overview: 83+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-22 18:06 [PATCH v2 00/33] spi: get rid of some legacy macros Uwe Kleine-König 2024-01-22 18:06 ` Uwe Kleine-König 2024-01-22 18:06 ` Uwe Kleine-König 2024-01-22 18:06 ` [PATCH v2 01/33] fpga: ice40-spi: Follow renaming of SPI "master" to "controller" Uwe Kleine-König 2024-01-22 18:06 ` [PATCH v2 02/33] ieee802154: ca8210: " Uwe Kleine-König 2024-01-22 18:16 ` Miquel Raynal 2024-01-22 18:06 ` [PATCH v2 03/33] iio: adc: ad_sigma_delta: " Uwe Kleine-König 2024-01-22 18:06 ` [PATCH v2 04/33] Input: pxspad - follow " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 05/33] Input: synaptics-rmi4 " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 06/33] media: mgb4: Follow " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 07/33] media: netup_unidvb: " Uwe Kleine-König 2024-02-07 4:43 ` Mauro Carvalho Chehab 2024-01-22 18:07 ` [PATCH v2 08/33] media: usb/msi2500: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 09/33] media: v4l2-subdev: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 10/33] misc: gehc-achc: " Uwe Kleine-König 2024-01-24 17:31 ` Greg Kroah-Hartman 2024-01-22 18:07 ` [PATCH v2 11/33] mmc: mmc_spi: " Uwe Kleine-König 2024-01-23 13:09 ` Ulf Hansson 2024-01-23 13:16 ` Mark Brown 2024-01-22 18:07 ` Uwe Kleine-König [this message] 2024-01-22 18:07 ` [PATCH v2 12/33] mtd: dataflash: " Uwe Kleine-König 2024-01-22 18:13 ` Miquel Raynal 2024-01-22 18:13 ` Miquel Raynal 2024-01-22 18:07 ` [PATCH v2 13/33] mtd: rawnand: fsl_elbc: Let .probe retry if local bus is missing Uwe Kleine-König 2024-01-22 18:07 ` Uwe Kleine-König 2024-01-22 18:19 ` Miquel Raynal 2024-01-22 18:19 ` Miquel Raynal 2024-01-22 21:29 ` Uwe Kleine-König 2024-01-22 21:29 ` Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 14/33] net: ks8851: Follow renaming of SPI "master" to "controller" Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 15/33] net: vertexcom: mse102x: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 16/33] platform/chrome: cros_ec_spi: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 17/33] spi: bitbang: " Uwe Kleine-König 2024-01-22 18:07 ` Uwe Kleine-König 2024-01-30 10:46 ` kernel test robot 2024-01-30 10:46 ` kernel test robot 2024-02-02 13:08 ` Uwe Kleine-König 2024-02-02 13:08 ` Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 18/33] spi: cadence-quadspi: Don't emit error message on allocation error Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 19/33] spi: cadence-quadspi: Follow renaming of SPI "master" to "controller" Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 20/33] spi: cavium: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 21/33] spi: geni-qcom: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 22/33] spi: loopback-test: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 23/33] spi: slave-mt27xx: " Uwe Kleine-König 2024-01-22 18:07 ` Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 24/33] spi: spidev: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 25/33] staging: fbtft: " Uwe Kleine-König 2024-01-22 18:07 ` Uwe Kleine-König 2024-01-24 17:31 ` Greg Kroah-Hartman 2024-01-24 17:31 ` Greg Kroah-Hartman 2024-01-22 18:07 ` [PATCH v2 26/33] staging: greybus: spi: " Uwe Kleine-König 2024-01-24 17:31 ` Greg Kroah-Hartman 2024-01-22 18:07 ` [PATCH v2 27/33] tpm_tis_spi: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 28/33] usb: gadget: max3420_udc: " Uwe Kleine-König 2024-01-24 17:31 ` Greg Kroah-Hartman 2024-01-22 18:07 ` [PATCH v2 29/33] video: fbdev: mmp: " Uwe Kleine-König 2024-01-22 18:07 ` Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 30/33] wifi: libertas: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 31/33] spi: fsl-lib: " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 32/33] spi: Drop compat layer from renaming " Uwe Kleine-König 2024-01-22 18:07 ` [PATCH v2 33/33] Documentation: spi: Update documentation for " Uwe Kleine-König 2024-01-22 18:18 ` [PATCH v2 00/33] spi: get rid of some legacy macros Mark Brown 2024-01-22 18:18 ` Mark Brown 2024-01-22 18:18 ` Mark Brown 2024-01-22 19:23 ` Jonathan Cameron 2024-01-22 19:23 ` Jonathan Cameron 2024-01-22 19:23 ` Jonathan Cameron 2024-01-24 20:02 ` Jonathan Cameron 2024-01-24 20:02 ` Jonathan Cameron 2024-01-24 20:02 ` Jonathan Cameron 2024-01-24 17:13 ` Greg Kroah-Hartman 2024-01-24 17:13 ` Greg Kroah-Hartman 2024-01-24 17:13 ` Greg Kroah-Hartman 2024-01-24 17:22 ` Mark Brown 2024-01-24 17:22 ` Mark Brown 2024-01-24 17:22 ` Mark Brown 2024-01-24 17:30 ` Greg Kroah-Hartman 2024-01-24 17:30 ` Greg Kroah-Hartman 2024-01-24 17:30 ` Greg Kroah-Hartman 2024-02-01 21:47 ` Jarkko Sakkinen 2024-02-01 21:47 ` Jarkko Sakkinen 2024-02-12 15:33 ` (subset) " Mark Brown 2024-02-12 15:33 ` Mark Brown
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=63d7d1f1e6fe564daf034c66eb3073aa265b7969.1705944943.git.u.kleine-koenig@pengutronix.de \ --to=u.kleine-koenig@pengutronix.de \ --cc=alsa-devel@alsa-project.org \ --cc=broonie@kernel.org \ --cc=heiko@sntech.de \ --cc=kernel@pengutronix.de \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mtd@lists.infradead.org \ --cc=linux-spi@vger.kernel.org \ --cc=michal.simek@amd.com \ --cc=miquel.raynal@bootlin.com \ --cc=richard@nod.at \ --cc=robh@kernel.org \ --cc=vigneshr@ti.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: linkBe 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.