diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com> | 2017-01-27 10:36:38 +0900 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-02-08 14:24:57 -0800 |
commit | 5d708ecc6c7718c22bcacabff0fbb32ecd19ad6b (patch) | |
tree | dd7aeb88ea390f1202c552547694b70fa3883e31 /drivers/mtd/spi-nor | |
parent | 34da5f5f3bf5c0df1bd5528a98e07bd5a224e9d4 (diff) |
mtd: Fix typo: "occured" -> "occurred"
Trivial typo fix in comment.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.kw@hitachi.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
-rw-r--r-- | drivers/mtd/spi-nor/spi-nor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index da7cd69d4857..f6bde5578459 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -122,7 +122,7 @@ static int read_fsr(struct spi_nor *nor) /* * Read configuration register, returning its value in the * location. Return the configuration register value. - * Returns negative if error occured. + * Returns negative if error occurred. */ static int read_cr(struct spi_nor *nor) { @@ -1236,7 +1236,7 @@ static int macronix_quad_enable(struct spi_nor *nor) * Write status Register and configuration register with 2 bytes * The first byte will be written to the status register, while the * second byte will be written to the configuration register. - * Return negative if error occured. + * Return negative if error occurred. */ static int write_sr_cr(struct spi_nor *nor, u16 val) { |