Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318296
b: refs/heads/master
c: 9163095
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Kurtz authored and Henrik Rydberg committed Jun 29, 2012
1 parent e2b3c37 commit 26ac68b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 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: 43a91d51d3750dd9d5a6e5d14e9250a51f01f3c1
refs/heads/master: 91630955cb4c9899aa4521d1459837c66c5e9c7a
12 changes: 4 additions & 8 deletions trunk/drivers/input/touchscreen/atmel_mxt_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -897,15 +897,11 @@ static ssize_t mxt_object_show(struct device *dev,
for (i = 0; i < data->info.object_num; i++) {
object = data->object_table + i;

count += scnprintf(buf + count, PAGE_SIZE - count,
"Object[%d] (Type %d)\n",
i + 1, object->type);

if (!mxt_object_readable(object->type)) {
count += scnprintf(buf + count, PAGE_SIZE - count,
"\n");
if (!mxt_object_readable(object->type))
continue;
}

count += scnprintf(buf + count, PAGE_SIZE - count,
"T%u:\n", object->type);

error = __mxt_read_reg(data->client, object->start_address,
object->size + 1, obuf);
Expand Down

0 comments on commit 26ac68b

Please sign in to comment.