Commit ce9971de authored by Liu Ying's avatar Liu Ying Committed by Andrzej Hajda

drm/bridge: sii902x: Add missing \n to the end of some dev_err messages

Trivial fix.
Some dev_err messages in this driver are missing \n, so add them.
Signed-off-by: default avatarLiu Ying <gnuiyl@gmail.com>
Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1491877339-19913-1-git-send-email-gnuiyl@gmail.com
parent 3a753b9e
...@@ -160,7 +160,7 @@ static int sii902x_get_modes(struct drm_connector *connector) ...@@ -160,7 +160,7 @@ static int sii902x_get_modes(struct drm_connector *connector)
time_before(jiffies, timeout)); time_before(jiffies, timeout));
if (!(status & SII902X_SYS_CTRL_DDC_BUS_GRTD)) { if (!(status & SII902X_SYS_CTRL_DDC_BUS_GRTD)) {
dev_err(&sii902x->i2c->dev, "failed to acquire the i2c bus"); dev_err(&sii902x->i2c->dev, "failed to acquire the i2c bus\n");
return -ETIMEDOUT; return -ETIMEDOUT;
} }
...@@ -202,7 +202,7 @@ static int sii902x_get_modes(struct drm_connector *connector) ...@@ -202,7 +202,7 @@ static int sii902x_get_modes(struct drm_connector *connector)
if (status & (SII902X_SYS_CTRL_DDC_BUS_REQ | if (status & (SII902X_SYS_CTRL_DDC_BUS_REQ |
SII902X_SYS_CTRL_DDC_BUS_GRTD)) { SII902X_SYS_CTRL_DDC_BUS_GRTD)) {
dev_err(&sii902x->i2c->dev, "failed to release the i2c bus"); dev_err(&sii902x->i2c->dev, "failed to release the i2c bus\n");
return -ETIMEDOUT; return -ETIMEDOUT;
} }
...@@ -298,7 +298,7 @@ static int sii902x_bridge_attach(struct drm_bridge *bridge) ...@@ -298,7 +298,7 @@ static int sii902x_bridge_attach(struct drm_bridge *bridge)
if (!drm_core_check_feature(drm, DRIVER_ATOMIC)) { if (!drm_core_check_feature(drm, DRIVER_ATOMIC)) {
dev_err(&sii902x->i2c->dev, dev_err(&sii902x->i2c->dev,
"sii902x driver is only compatible with DRM devices supporting atomic updates"); "sii902x driver is only compatible with DRM devices supporting atomic updates\n");
return -ENOTSUPP; return -ENOTSUPP;
} }
......
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