mtd: rawnand: r852: [PATCH] Fixed a spelling error in the comments

Terence Eden terence.eden at shkspr.mobi
Wed Feb 19 03:59:10 PST 2025


Continuing the work of Commit #8ab1b51 /
https://lore.kernel.org/linux-mtd/20240923065649.11966-1-shenlichuan@vivo.com/

This fixes a spelling error in the comments and removes an errant newline.

Signed-off-by: Terence Eden <terence.eden at shkspr.mobi>
---
 drivers/mtd/nand/raw/r852.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/raw/r852.c b/drivers/mtd/nand/raw/r852.c
index b07c2f8b4035..136589f9a0e9 100644
--- a/drivers/mtd/nand/raw/r852.c
+++ b/drivers/mtd/nand/raw/r852.c
@@ -242,13 +242,12 @@ static void r852_write_buf(struct nand_chip
*chip, const uint8_t *buf, int len)
                return;
        }

-       /* write DWORD chinks - faster */
+       /* write DWORD chunks - faster */
        while (len >= 4) {
                reg = buf[0] | buf[1] << 8 | buf[2] << 16 | buf[3] << 24;
                r852_write_reg_dword(dev, R852_DATALINE, reg);
                buf += 4;
                len -= 4;
-
        }

        /* write rest */
-- 
2.34.1

On Tue, 18 Feb 2025 at 13:58, Miquel Raynal <miquel.raynal at bootlin.com> wrote:
>
> Hello,
>
> On 18/02/2025 at 13:21:42 GMT, Terence Eden <terence.eden at shkspr.mobi> wrote:
>
> > Continuing the work of Commit #8ab1b51 /
> > https://lore.kernel.org/linux-mtd/20240923065649.11966-1-shenlichuan@vivo.com/
>
> While the diff is obviously fine, I'd prefer if you could write a proper
> commit log.
>
> Also the title should be prefixed "mtd: rawnand: r852: "
>
> Thanks,
> Miquèl



More information about the linux-mtd mailing list