Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249751
b: refs/heads/master
c: 311fda8
h: refs/heads/master
i:
  249749: 86ed352
  249747: fe9668d
  249743: c36239a
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed May 18, 2011
1 parent 51bb6cd commit 93da284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 8041f92a204c06aa5bef5f42a5108e3886c0b215
refs/heads/master: 311fda8e8b495e026fa1d24d9d5a211fc8be2aef
5 changes: 3 additions & 2 deletions trunk/drivers/staging/cptm1217/clearpad_tm1217.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ static int cp_tm1217_probe(struct i2c_client *client,
if (input_dev == NULL) {
dev_err(ts->dev,
"cp_tm1217:Input Device Struct alloc failed\n");
kfree(ts);
return -ENOMEM;
retval = -ENOMEM;
goto fail;
}
input_info = &ts->cp_input_info[i];
snprintf(input_info->name, sizeof(input_info->name),
Expand All @@ -486,6 +486,7 @@ static int cp_tm1217_probe(struct i2c_client *client,
dev_err(ts->dev,
"Input dev registration failed for %s\n",
input_dev->name);
input_free_device(input_dev);
goto fail;
}
input_info->input = input_dev;
Expand Down

0 comments on commit 93da284

Please sign in to comment.