2019-02-15 16:27:39

by Colin King

[permalink] [raw]
Subject: [PATCH][next] mtd: spi-nor: cadence-quadspi: fix spelling mistake: "Couldnt't" -> "Couldn't"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a dev_error message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/mtd/spi-nor/cadence-quadspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c
index 56512c0368f9..792628750eec 100644
--- a/drivers/mtd/spi-nor/cadence-quadspi.c
+++ b/drivers/mtd/spi-nor/cadence-quadspi.c
@@ -1249,7 +1249,7 @@ static int cqspi_setup_flash(struct cqspi_st *cqspi, struct device_node *np)

ddata = of_device_get_match_data(dev);
if (!ddata) {
- dev_err(dev, "Couldnt't find driver data\n");
+ dev_err(dev, "Couldn't find driver data\n");
return -EINVAL;
}
hwcaps.mask = ddata->hwcaps_mask;
--
2.20.1



2019-02-17 08:29:33

by Vignesh Raghavendra

[permalink] [raw]
Subject: Re: [PATCH][next] mtd: spi-nor: cadence-quadspi: fix spelling mistake: "Couldnt't" -> "Couldn't"



On 15/02/19 8:45 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/mtd/spi-nor/cadence-quadspi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c
> index 56512c0368f9..792628750eec 100644
> --- a/drivers/mtd/spi-nor/cadence-quadspi.c
> +++ b/drivers/mtd/spi-nor/cadence-quadspi.c
> @@ -1249,7 +1249,7 @@ static int cqspi_setup_flash(struct cqspi_st *cqspi, struct device_node *np)
>
> ddata = of_device_get_match_data(dev);
> if (!ddata) {
> - dev_err(dev, "Couldnt't find driver data\n");
> + dev_err(dev, "Couldn't find driver data\n");
> return -EINVAL;
> }
> hwcaps.mask = ddata->hwcaps_mask;
>

Oops, my bad.. Thanks for fixing this!


--
Regards
Vignesh

2019-02-20 20:52:42

by Tudor Ambarus

[permalink] [raw]
Subject: Re: [PATCH][next] mtd: spi-nor: cadence-quadspi: fix spelling mistake: "Couldnt't" -> "Couldn't"



On 02/15/2019 05:15 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Reviewed-by: Tudor Ambarus <[email protected]>

> ---
> drivers/mtd/spi-nor/cadence-quadspi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi-nor/cadence-quadspi.c b/drivers/mtd/spi-nor/cadence-quadspi.c
> index 56512c0368f9..792628750eec 100644
> --- a/drivers/mtd/spi-nor/cadence-quadspi.c
> +++ b/drivers/mtd/spi-nor/cadence-quadspi.c
> @@ -1249,7 +1249,7 @@ static int cqspi_setup_flash(struct cqspi_st *cqspi, struct device_node *np)
>
> ddata = of_device_get_match_data(dev);
> if (!ddata) {
> - dev_err(dev, "Couldnt't find driver data\n");
> + dev_err(dev, "Couldn't find driver data\n");
> return -EINVAL;
> }
> hwcaps.mask = ddata->hwcaps_mask;
>

2019-02-21 08:00:01

by Boris Brezillon

[permalink] [raw]
Subject: Re: [next] mtd: spi-nor: cadence-quadspi: fix spelling mistake: "Couldnt't" -> "Couldn't"

From: Boris Brezillon <[email protected]>

On Fri, 2019-02-15 at 15:15:47 UTC, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> Reviewed-by: Tudor Ambarus <[email protected]>

Applied to http://git.infradead.org/linux-mtd.git spi-nor/next, thanks.

Boris