From: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
To: Flavio Suligoi <f.suligoi@asem.it>
Cc: Tudor Ambarus <tudor.ambarus@microchip.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
Jonathan Corbet <corbet@lwn.net>,
Jonathan Neuschaefer <j.neuschaefer@gmx.net>,
linux-mtd@lists.infradead.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] mtd: spi-nor: core: fix/remove references to spi-nor.c
Date: Sat, 30 Jan 2021 19:49:49 +0100 [thread overview]
Message-ID: <YBWqTRLCfXyKNptd@latitude> (raw)
In-Reply-To: <20210126092516.1431913-1-f.suligoi@asem.it>
[-- Attachment #1: Type: text/plain, Size: 2229 bytes --]
On Tue, Jan 26, 2021 at 10:25:16AM +0100, Flavio Suligoi wrote:
> The old file:
>
> drivers/mtd/spi-nor/spi-nor.c
>
> is not more present and now some of its code is
> contained in:
>
> drivers/mtd/spi-nor/core.c
>
> This patch fix/remove the references to the old
> spi-nor.c file.
>
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
> ---
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Thanks.
> Documentation/driver-api/mtd/spi-nor.rst | 2 +-
> drivers/mtd/spi-nor/core.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/driver-api/mtd/spi-nor.rst b/Documentation/driver-api/mtd/spi-nor.rst
> index 4a3adca417fd..bf2db371d3fb 100644
> --- a/Documentation/driver-api/mtd/spi-nor.rst
> +++ b/Documentation/driver-api/mtd/spi-nor.rst
> @@ -61,7 +61,7 @@ Part III - How can drivers use the framework?
>
> The main API is spi_nor_scan(). Before you call the hook, a driver should
> initialize the necessary fields for spi_nor{}. Please see
> -drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to spi-fsl-qspi.c
> +drivers/mtd/spi-nor/core.c for detail. Please also refer to spi-fsl-qspi.c
> when you want to write a new driver for a SPI NOR controller.
> Another API is spi_nor_restore(), this is used to restore the status of SPI
> flash chip such as addressing mode. Call it whenever detach the driver from
> diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c
> index 20df44b753da..6ae7d4c2d2b6 100644
> --- a/drivers/mtd/spi-nor/core.c
> +++ b/drivers/mtd/spi-nor/core.c
> @@ -3701,8 +3701,8 @@ static void spi_nor_shutdown(struct spi_mem *spimem)
> * encourage new users to add support to the spi-nor library, and simply bind
> * against a generic string here (e.g., "jedec,spi-nor").
> *
> - * Many flash names are kept here in this list (as well as in spi-nor.c) to
> - * keep them available as module aliases for existing platforms.
> + * Many flash names are kept here in this list to keep them available
> + * as module aliases for existing platforms.
> */
> static const struct spi_device_id spi_nor_dev_ids[] = {
> /*
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
To: Flavio Suligoi <f.suligoi@asem.it>
Cc: Vignesh Raghavendra <vigneshr@ti.com>,
Jonathan Corbet <corbet@lwn.net>,
Richard Weinberger <richard@nod.at>,
Tudor Ambarus <tudor.ambarus@microchip.com>,
linux-doc@vger.kernel.org,
Jonathan Neuschaefer <j.neuschaefer@gmx.net>,
linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,
Miquel Raynal <miquel.raynal@bootlin.com>
Subject: Re: [PATCH v1] mtd: spi-nor: core: fix/remove references to spi-nor.c
Date: Sat, 30 Jan 2021 19:49:49 +0100 [thread overview]
Message-ID: <YBWqTRLCfXyKNptd@latitude> (raw)
In-Reply-To: <20210126092516.1431913-1-f.suligoi@asem.it>
[-- Attachment #1.1: Type: text/plain, Size: 2229 bytes --]
On Tue, Jan 26, 2021 at 10:25:16AM +0100, Flavio Suligoi wrote:
> The old file:
>
> drivers/mtd/spi-nor/spi-nor.c
>
> is not more present and now some of its code is
> contained in:
>
> drivers/mtd/spi-nor/core.c
>
> This patch fix/remove the references to the old
> spi-nor.c file.
>
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
> ---
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Thanks.
> Documentation/driver-api/mtd/spi-nor.rst | 2 +-
> drivers/mtd/spi-nor/core.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/driver-api/mtd/spi-nor.rst b/Documentation/driver-api/mtd/spi-nor.rst
> index 4a3adca417fd..bf2db371d3fb 100644
> --- a/Documentation/driver-api/mtd/spi-nor.rst
> +++ b/Documentation/driver-api/mtd/spi-nor.rst
> @@ -61,7 +61,7 @@ Part III - How can drivers use the framework?
>
> The main API is spi_nor_scan(). Before you call the hook, a driver should
> initialize the necessary fields for spi_nor{}. Please see
> -drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to spi-fsl-qspi.c
> +drivers/mtd/spi-nor/core.c for detail. Please also refer to spi-fsl-qspi.c
> when you want to write a new driver for a SPI NOR controller.
> Another API is spi_nor_restore(), this is used to restore the status of SPI
> flash chip such as addressing mode. Call it whenever detach the driver from
> diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c
> index 20df44b753da..6ae7d4c2d2b6 100644
> --- a/drivers/mtd/spi-nor/core.c
> +++ b/drivers/mtd/spi-nor/core.c
> @@ -3701,8 +3701,8 @@ static void spi_nor_shutdown(struct spi_mem *spimem)
> * encourage new users to add support to the spi-nor library, and simply bind
> * against a generic string here (e.g., "jedec,spi-nor").
> *
> - * Many flash names are kept here in this list (as well as in spi-nor.c) to
> - * keep them available as module aliases for existing platforms.
> + * Many flash names are kept here in this list to keep them available
> + * as module aliases for existing platforms.
> */
> static const struct spi_device_id spi_nor_dev_ids[] = {
> /*
> --
> 2.25.1
>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 144 bytes --]
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2021-01-30 18:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-26 9:25 [PATCH v1] mtd: spi-nor: core: fix/remove references to spi-nor.c Flavio Suligoi
2021-01-26 9:25 ` Flavio Suligoi
2021-01-30 18:49 ` Jonathan Neuschäfer [this message]
2021-01-30 18:49 ` Jonathan Neuschäfer
2021-12-23 8:12 ` Tudor Ambarus
2021-12-23 8:12 ` Tudor Ambarus
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=YBWqTRLCfXyKNptd@latitude \
--to=j.neuschaefer@gmx.net \
--cc=corbet@lwn.net \
--cc=f.suligoi@asem.it \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=tudor.ambarus@microchip.com \
--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: 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.