]> git.baikalelectronics.ru Git - kernel.git/commitdiff
crypto: allwinner - fix some spelling mistakes
authorColin Ian King <colin.king@canonical.com>
Tue, 5 Nov 2019 15:03:59 +0000 (15:03 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Nov 2019 05:44:17 +0000 (13:44 +0800)
There are spelling mistakes in dev_warn and dev_err messages. Fix these.
Change "recommandation" to "recommendation" and "tryed" to "tried".

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c

index 8e4eddbcc81459e858cdf12fc34151819cd284f5..73a7649f915d9c4204c2a9fbcc11f88a216ea759 100644 (file)
@@ -469,7 +469,7 @@ static int sun8i_ce_get_clks(struct sun8i_ce_dev *ce)
                }
                if (ce->variant->ce_clks[i].max_freq > 0 &&
                    cr > ce->variant->ce_clks[i].max_freq)
-                       dev_warn(ce->dev, "Frequency for %s (%lu hz) is higher than datasheet's recommandation (%lu hz)",
+                       dev_warn(ce->dev, "Frequency for %s (%lu hz) is higher than datasheet's recommendation (%lu hz)",
                                 ce->variant->ce_clks[i].name, cr,
                                 ce->variant->ce_clks[i].max_freq);
        }
@@ -513,7 +513,7 @@ static int sun8i_ce_register_algs(struct sun8i_ce_dev *ce)
                        break;
                default:
                        ce_algs[i].ce = NULL;
-                       dev_err(ce->dev, "ERROR: tryed to register an unknown algo\n");
+                       dev_err(ce->dev, "ERROR: tried to register an unknown algo\n");
                }
        }
        return 0;
index 9526bd1d08f469af9f6d28e66e2c8fe221b942b4..90997cc509b8206695666ba293e6fe4fff974fa2 100644 (file)
@@ -446,7 +446,7 @@ static int sun8i_ss_register_algs(struct sun8i_ss_dev *ss)
                        break;
                default:
                        ss_algs[i].ss = NULL;
-                       dev_err(ss->dev, "ERROR: tryed to register an unknown algo\n");
+                       dev_err(ss->dev, "ERROR: tried to register an unknown algo\n");
                }
        }
        return 0;
@@ -502,7 +502,7 @@ static int sun8i_ss_get_clks(struct sun8i_ss_dev *ss)
                }
                if (ss->variant->ss_clks[i].max_freq > 0 &&
                    cr > ss->variant->ss_clks[i].max_freq)
-                       dev_warn(ss->dev, "Frequency for %s (%lu hz) is higher than datasheet's recommandation (%lu hz)",
+                       dev_warn(ss->dev, "Frequency for %s (%lu hz) is higher than datasheet's recommendation (%lu hz)",
                                 ss->variant->ss_clks[i].name, cr,
                                 ss->variant->ss_clks[i].max_freq);
        }