提交 fce3ff03 编写于 作者: J Joe Perches 提交者: Jean Delvare

i2c: Add missing spaces in split log messages

Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 50862d94
...@@ -404,7 +404,7 @@ static irqreturn_t i2c_davinci_isr(int this_irq, void *dev_id) ...@@ -404,7 +404,7 @@ static irqreturn_t i2c_davinci_isr(int this_irq, void *dev_id)
DAVINCI_I2C_STR_REG, DAVINCI_I2C_STR_REG,
w); w);
} else } else
dev_err(dev->dev, "RDR IRQ while no" dev_err(dev->dev, "RDR IRQ while no "
"data requested\n"); "data requested\n");
break; break;
...@@ -423,7 +423,7 @@ static irqreturn_t i2c_davinci_isr(int this_irq, void *dev_id) ...@@ -423,7 +423,7 @@ static irqreturn_t i2c_davinci_isr(int this_irq, void *dev_id)
DAVINCI_I2C_IMR_REG, DAVINCI_I2C_IMR_REG,
w); w);
} else } else
dev_err(dev->dev, "TDR IRQ while no data to" dev_err(dev->dev, "TDR IRQ while no data to "
"send\n"); "send\n");
break; break;
......
...@@ -203,7 +203,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev) ...@@ -203,7 +203,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev)
while (!(omap_i2c_read_reg(dev, OMAP_I2C_SYSS_REG) & while (!(omap_i2c_read_reg(dev, OMAP_I2C_SYSS_REG) &
OMAP_I2C_SYSS_RDONE)) { OMAP_I2C_SYSS_RDONE)) {
if (time_after(jiffies, timeout)) { if (time_after(jiffies, timeout)) {
dev_warn(dev->dev, "timeout waiting" dev_warn(dev->dev, "timeout waiting "
"for controller reset\n"); "for controller reset\n");
return -ETIMEDOUT; return -ETIMEDOUT;
} }
...@@ -483,7 +483,7 @@ omap_i2c_isr(int this_irq, void *dev_id) ...@@ -483,7 +483,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
dev->buf_len--; dev->buf_len--;
} }
} else } else
dev_err(dev->dev, "RRDY IRQ while no data" dev_err(dev->dev, "RRDY IRQ while no data "
"requested\n"); "requested\n");
omap_i2c_ack_stat(dev, OMAP_I2C_STAT_RRDY); omap_i2c_ack_stat(dev, OMAP_I2C_STAT_RRDY);
continue; continue;
...@@ -498,7 +498,7 @@ omap_i2c_isr(int this_irq, void *dev_id) ...@@ -498,7 +498,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
dev->buf_len--; dev->buf_len--;
} }
} else } else
dev_err(dev->dev, "XRDY IRQ while no" dev_err(dev->dev, "XRDY IRQ while no "
"data to send\n"); "data to send\n");
omap_i2c_write_reg(dev, OMAP_I2C_DATA_REG, w); omap_i2c_write_reg(dev, OMAP_I2C_DATA_REG, w);
omap_i2c_ack_stat(dev, OMAP_I2C_STAT_XRDY); omap_i2c_ack_stat(dev, OMAP_I2C_STAT_XRDY);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册