spi: npcm-fiu: fix spelling mistake "frequancy" -> "frequency"
There is a spelling mistake in a dev_warning message. Fix it. Also break line to clear up checkpatch warning. Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190903122812.3986-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e327364948
commit
0d6fccc1b6
@ -544,7 +544,8 @@ static int npcm_fiu_exec_op(struct spi_mem *mem, const struct spi_mem_op *op)
|
|||||||
if (fiu->clkrate != chip->clkrate) {
|
if (fiu->clkrate != chip->clkrate) {
|
||||||
ret = clk_set_rate(fiu->clk, chip->clkrate);
|
ret = clk_set_rate(fiu->clk, chip->clkrate);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
dev_warn(fiu->dev, "Failed setting %lu frequancy, stay at %lu frequancy\n", chip->clkrate, fiu->clkrate);
|
dev_warn(fiu->dev, "Failed setting %lu frequency, stay at %lu frequency\n",
|
||||||
|
chip->clkrate, fiu->clkrate);
|
||||||
else
|
else
|
||||||
fiu->clkrate = chip->clkrate;
|
fiu->clkrate = chip->clkrate;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user