Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145483
b: refs/heads/master
c: 75185c9
h: refs/heads/master
i:
  145481: 708d3ed
  145479: 3be2615
v: v3
  • Loading branch information
Keith Packard authored and Dave Airlie committed Jun 3, 2009
1 parent 547df14 commit 62c3b9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9863871bd1bbf218b921af5e0bc48ca4f6ea9f12
refs/heads/master: 75185c929ed241f5cf1aa28999b8012181e2c7cb
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/drm_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static ssize_t status_show(struct device *device,
enum drm_connector_status status;

status = connector->funcs->detect(connector);
return snprintf(buf, PAGE_SIZE, "%s",
return snprintf(buf, PAGE_SIZE, "%s\n",
drm_get_connector_status_name(status));
}

Expand All @@ -166,7 +166,7 @@ static ssize_t dpms_show(struct device *device,
if (ret)
return 0;

return snprintf(buf, PAGE_SIZE, "%s",
return snprintf(buf, PAGE_SIZE, "%s\n",
drm_get_dpms_name((int)dpms_status));
}

Expand All @@ -176,7 +176,7 @@ static ssize_t enabled_show(struct device *device,
{
struct drm_connector *connector = to_drm_connector(device);

return snprintf(buf, PAGE_SIZE, connector->encoder ? "enabled" :
return snprintf(buf, PAGE_SIZE, "%s\n", connector->encoder ? "enabled" :
"disabled");
}

Expand Down

0 comments on commit 62c3b9d

Please sign in to comment.