]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net/fsl: xgmac_mdio: Fix spelling mistake "frequecy" -> "frequency"
authorColin Ian King <colin.i.king@gmail.com>
Fri, 28 Jan 2022 09:25:31 +0000 (09:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jan 2022 15:07:00 +0000 (15:07 +0000)
There is a spelling mistake in a dev_err message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/xgmac_mdio.c

index d38d0c372585df6759ba4c97ce8562338ea5241c..2243c8fcdee186fe672928c8d81445940bf95bc9 100644 (file)
@@ -276,7 +276,7 @@ static int xgmac_mdio_set_mdc_freq(struct mii_bus *bus)
 
        div = ((clk_get_rate(priv->enet_clk) / priv->mdc_freq) - 1) / 2;
        if (div < 5 || div > 0x1ff) {
-               dev_err(dev, "Requested MDC frequecy is out of range, ignoring");
+               dev_err(dev, "Requested MDC frequency is out of range, ignoring");
                return -EINVAL;
        }