Commit 4509f437 authored by Colin Ian King's avatar Colin Ian King Committed by Herbert Xu

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: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5c49645c
...@@ -469,7 +469,7 @@ static int sun8i_ce_get_clks(struct sun8i_ce_dev *ce) ...@@ -469,7 +469,7 @@ static int sun8i_ce_get_clks(struct sun8i_ce_dev *ce)
} }
if (ce->variant->ce_clks[i].max_freq > 0 && if (ce->variant->ce_clks[i].max_freq > 0 &&
cr > ce->variant->ce_clks[i].max_freq) 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].name, cr,
ce->variant->ce_clks[i].max_freq); ce->variant->ce_clks[i].max_freq);
} }
...@@ -513,7 +513,7 @@ static int sun8i_ce_register_algs(struct sun8i_ce_dev *ce) ...@@ -513,7 +513,7 @@ static int sun8i_ce_register_algs(struct sun8i_ce_dev *ce)
break; break;
default: default:
ce_algs[i].ce = NULL; 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; return 0;
......
...@@ -446,7 +446,7 @@ static int sun8i_ss_register_algs(struct sun8i_ss_dev *ss) ...@@ -446,7 +446,7 @@ static int sun8i_ss_register_algs(struct sun8i_ss_dev *ss)
break; break;
default: default:
ss_algs[i].ss = NULL; 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; return 0;
...@@ -502,7 +502,7 @@ static int sun8i_ss_get_clks(struct sun8i_ss_dev *ss) ...@@ -502,7 +502,7 @@ static int sun8i_ss_get_clks(struct sun8i_ss_dev *ss)
} }
if (ss->variant->ss_clks[i].max_freq > 0 && if (ss->variant->ss_clks[i].max_freq > 0 &&
cr > ss->variant->ss_clks[i].max_freq) 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].name, cr,
ss->variant->ss_clks[i].max_freq); ss->variant->ss_clks[i].max_freq);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment