summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/allwinner/sun8i-ss
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-11-05 16:03:59 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-15 06:44:17 +0100
commit4509f43766140aba4c68107a4afb7c22852e246d (patch)
treeba81964b1e322d27fd8a8317097b1b6bcc9df4e2 /drivers/crypto/allwinner/sun8i-ss
parenthwrng: atmel - add new platform support for sam9x60 (diff)
downloadlinux-4509f43766140aba4c68107a4afb7c22852e246d.tar.xz
linux-4509f43766140aba4c68107a4afb7c22852e246d.zip
crypto: allwinner - fix some spelling mistakes
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>
Diffstat (limited to 'drivers/crypto/allwinner/sun8i-ss')
-rw-r--r--drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
index 9526bd1d08f4..90997cc509b8 100644
--- a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
+++ b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c
@@ -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);
}