mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 12:52:40 -04:00
i2c: uniphier: fix typos in error messages
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
committed by
Wolfram Sang
parent
e6244deed8
commit
bca71ba034
@@ -467,7 +467,7 @@ static int uniphier_fi2c_clk_init(struct device *dev,
|
||||
bus_speed = UNIPHIER_FI2C_DEFAULT_SPEED;
|
||||
|
||||
if (!bus_speed) {
|
||||
dev_err(dev, "clock-freqyency should not be zero\n");
|
||||
dev_err(dev, "clock-frequency should not be zero\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
@@ -328,7 +328,7 @@ static int uniphier_i2c_clk_init(struct device *dev,
|
||||
bus_speed = UNIPHIER_I2C_DEFAULT_SPEED;
|
||||
|
||||
if (!bus_speed) {
|
||||
dev_err(dev, "clock-freqyency should not be zero\n");
|
||||
dev_err(dev, "clock-frequency should not be zero\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user