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:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user