mtd: fix typos in comments
Subsystems (9)
PATCH 1/1 mtd: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/mtd/devices/docg3.c | 4 ++-- drivers/mtd/nand/onenand/onenand_base.c | 2 +- drivers/mtd/nand/raw/fsmc_nand.c | 2 +- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +- drivers/mtd/nand/raw/mtk_nand.c | 2 +- drivers/mtd/nand/raw/nand_base.c | 2 +- drivers/mtd/nand/raw/nand_legacy.c | 4 ++-- drivers/mtd/spi-nor/otp.c | 2 +- include/linux/mtd/bbm.h | 2 +- include/linux/mtd/rawnand.h | 2 +- include/linux/mtd/sh_flctl.h | 4 ++-- 11 files changed, 14 insertions(+), 14 deletions(-)
drivers/mtd/devices/docg3.c +2 -2
@@ -1884,7 +1884,7 @@ static void doc_release_device(struct mtd_info *mtd)/** * docg3_resume - Awakens docg3 floor -* @pdev: platfrom device +* @pdev: platform device * * Returns 0 (always successful) */
@@ -1963,7 +1963,7 @@ static int docg3_suspend(struct platform_device *pdev, pm_message_t state)* @pdev: platform device * * Probes for a G3 chip at the specified IO space in the platform data -* ressources. The floor 0 must be available. +* resources. The floor 0 must be available. * * Returns 0 on success, -ENOMEM, -ENXIO on error */
drivers/mtd/nand/onenand/onenand_base.c +1 -1
@@ -3279,7 +3279,7 @@ static void onenand_check_features(struct mtd_info *mtd)* * Now it has as following * KFM4G16Q4M has NOP 4 with version ID 0x0131 -* KFM4G16Q5M has NOP 1 with versoin ID 0x013e +* KFM4G16Q5M has NOP 1 with version ID 0x013e */ if ((this->version_id &0xf ) ==0xe ) this->options |=ONENAND_HAS_NOP_1 ;
drivers/mtd/nand/raw/fsmc_nand.c +1 -1
@@ -461,7 +461,7 @@ static int fsmc_correct_ecc1(struct nand_chip *chip, chip->ecc.size, sm_order); } -/* Count the number of 0's in buff upto a max of max_bits */ +/* Count the number of 0's in buff up to a max of max_bits */ static int count_written_bits (u8 *buff,int size,int max_bits) {int k, written_bits =0 ;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +1 -1
@@ -2271,7 +2271,7 @@ static int nand_boot_init(struct gpmi_nand_data *this) {nand_boot_set_geometry (this); -/* This is ROM arch-specific initilization before the BBT scanning. */ +/* This is ROM arch-specific initialization before the BBT scanning. */ if (GPMI_IS_MX23 (this))return mx23_boot_init (this);return 0 ;
drivers/mtd/nand/raw/mtk_nand.c +1 -1
@@ -42,7 +42,7 @@#define CON_BRD BIT(8)/* burst read */ #define CON_BWR BIT(9)/* burst write */ #define CON_SEC_SHIFT (12) -/* Timming control register */ +/* Timing control register */ #define NFI_ACCCON (0x0C)#define NFI_INTR_EN (0x10)#define INTR_AHB_DONE_EN BIT(6)
drivers/mtd/nand/raw/nand_base.c +1 -1
@@ -6205,7 +6205,7 @@ static int nand_scan_tail(struct nand_chip *chip)/* * FIXME: some NAND manufacturer drivers expect the first die to be * selected when manufacturer->init() is called. They should be fixed -* to explictly select the relevant die when interacting with the NAND +* to explicitly select the relevant die when interacting with the NAND * chip. */ nand_select_target (chip,0 );
drivers/mtd/nand/raw/nand_legacy.c +2 -2
@@ -319,7 +319,7 @@ static void nand_command(struct nand_chip *chip, unsigned int command, NAND_CTRL_CLE | NAND_CTRL_CHANGE); chip->legacy.cmd_ctrl (chip,NAND_CMD_NONE ,NAND_NCE |NAND_CTRL_CHANGE ); -/* EZ-NAND can take upto 250ms as per ONFi v4.0 */ +/* EZ-NAND can take up to 250ms as per ONFi v4.0 */ nand_wait_status_ready (chip,250 );return ;
@@ -459,7 +459,7 @@ static void nand_command_lp(struct nand_chip *chip, unsigned int command, NAND_NCE | NAND_CLE | NAND_CTRL_CHANGE); chip->legacy.cmd_ctrl (chip,NAND_CMD_NONE ,NAND_NCE |NAND_CTRL_CHANGE ); -/* EZ-NAND can take upto 250ms as per ONFi v4.0 */ +/* EZ-NAND can take up to 250ms as per ONFi v4.0 */ nand_wait_status_ready (chip,250 );return ;
drivers/mtd/spi-nor/otp.c +1 -1
@@ -25,7 +25,7 @@* Read a security register by using the SPINOR_OP_RSECR commands. * * In Winbond/GigaDevice datasheets the term "security register" stands for -* an one-time-programmable memory area, consisting of multiple bytes (usually +* a one-time-programmable memory area, consisting of multiple bytes (usually * 256). Thus one "security register" maps to one OTP region. * * This method is used on GigaDevice and Winbond flashes.
include/linux/mtd/bbm.h +1 -1
@@ -75,7 +75,7 @@ struct nand_bbt_descr {* with NAND_BBT_CREATE. */ #define NAND_BBT_CREATE_EMPTY 0x00000400 -/* Write bbt if neccecary */ +/* Write bbt if necessary */ #define NAND_BBT_WRITE 0x00002000/* Read and write back block contents when writing bbt */ #define NAND_BBT_SAVECONTENT 0x00004000
include/linux/mtd/rawnand.h +1 -1
@@ -1592,7 +1592,7 @@ void nand_wait_ready(struct nand_chip *chip);/* * Free resources held by the NAND device, must be called on error after a -* sucessful nand_scan(). +* successful nand_scan(). */ void nand_cleanup (struct nand_chip *chip);
include/linux/mtd/sh_flctl.h +2 -2
@@ -60,8 +60,8 @@* Some hardware uses bits called PULSEx instead of FCKSEL_E and QTSEL_E * to control the clock divider used between the High-Speed Peripheral Clock * and the FLCTL internal clock. If so, use CLK_8_BIT_xxx for connecting 8 bit -* and CLK_16_BIT_xxx for connecting 16 bit bus bandwith NAND chips. For the 16 -* bit version the divider is seperate for the pulse width of high and low +* and CLK_16_BIT_xxx for connecting 16 bit bus bandwidth NAND chips. For the 16 +* bit version the divider is separate for the pulse width of high and low * signals. */ #define PULSE3 (0x1 << 27)
Signature · 1 line
2.48.1
Quoted 5 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.
Applied to mtd/next, thanks!
[1/1] mtd: fix typos in comments
commit: 90936c3c790ec22b02c6d8611a9df0aecb8139bb
Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl