net: encx24j600: Correct spelling in comments
authorSimon Horman <horms@kernel.org>
Wed, 24 Apr 2024 15:13:25 +0000 (16:13 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Apr 2024 02:13:26 +0000 (19:13 -0700)
Correct spelling in comments, as flagged by codespell.

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://lore.kernel.org/r/20240424-lan743x-confirm-v2-3-f0480542e39f@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/encx24j600-regmap.c
drivers/net/ethernet/microchip/encx24j600.c
drivers/net/ethernet/microchip/encx24j600_hw.h

index 443128adbcb6c619f1b7b7a587070173778573cd..3885d6fbace16146d12094947a8c26973688c8f2 100644 (file)
@@ -75,7 +75,7 @@ static int regmap_encx24j600_sfr_read(void *context, u8 reg, u8 *val,
                if (unlikely(ret))
                        return ret;
        } else {
-               /* Translate registers that are more effecient using
+               /* Translate registers that are more efficient using
                 * 3-byte SPI commands
                 */
                switch (reg) {
@@ -129,7 +129,7 @@ static int regmap_encx24j600_sfr_update(struct encx24j600_context *ctx,
                if (unlikely(ret))
                        return ret;
        } else {
-               /* Translate registers that are more effecient using
+               /* Translate registers that are more efficient using
                 * 3-byte SPI commands
                 */
                switch (reg) {
index cdc2872ace1b4443133c56905c10bf64647be625..b011bf5c2305c876317132f6e304a7845ec0054d 100644 (file)
@@ -569,7 +569,7 @@ static void encx24j600_dump_config(struct encx24j600_priv *priv,
        pr_info(DRV_NAME " MABBIPG: %04X\n", encx24j600_read_reg(priv,
                                                                 MABBIPG));
 
-       /* PHY configuation */
+       /* PHY configuration */
        pr_info(DRV_NAME " PHCON1:  %04X\n", encx24j600_read_phy(priv, PHCON1));
        pr_info(DRV_NAME " PHCON2:  %04X\n", encx24j600_read_phy(priv, PHCON2));
        pr_info(DRV_NAME " PHANA:   %04X\n", encx24j600_read_phy(priv, PHANA));
@@ -837,7 +837,9 @@ static void encx24j600_hw_tx(struct encx24j600_priv *priv)
                dump_packet("TX", priv->tx_skb->len, priv->tx_skb->data);
 
        if (encx24j600_read_reg(priv, EIR) & TXABTIF)
-               /* Last transmition aborted due to error. Reset TX interface */
+               /* Last transmission aborted due to error.
+                * Reset TX interface
+                */
                encx24j600_reset_hw_tx(priv);
 
        /* Clear the TXIF flag if were previously set */
index 34c5a289898c925c4cb477afb1d1a773796e2131..2522f4f48b67217f06a14bd60057fde252faa003 100644 (file)
@@ -243,7 +243,7 @@ int devm_regmap_init_encx24j600(struct device *dev,
 
 /* MAIPG */
 /* value of the high byte is given by the reserved bits,
- * value of the low byte is recomended setting of the
+ * value of the low byte is recommended setting of the
  * IPG parameter.
  */
 #define MAIPGH_VAL 0x0C