Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232422
b: refs/heads/master
c: ba55546
h: refs/heads/master
v: v3
  • Loading branch information
Jamie Iles authored and Dmitry Torokhov committed Jan 18, 2011
1 parent 25610b8 commit 9515f11
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: a0640925880a5801ae0aac232fae6900a2c44b27
refs/heads/master: ba555461833aa1b5083004492ba97c92d5fccf46
5 changes: 3 additions & 2 deletions trunk/drivers/input/touchscreen/tnetv107x-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/

#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/input.h>
#include <linux/platform_device.h>
Expand Down Expand Up @@ -289,9 +290,9 @@ static int __devinit tsc_probe(struct platform_device *pdev)
}

ts->clk = clk_get(dev, NULL);
if (!ts->clk) {
if (IS_ERR(ts->clk)) {
dev_err(dev, "cannot claim device clock\n");
error = -EINVAL;
error = PTR_ERR(ts->clk);
goto error_clk;
}

Expand Down

0 comments on commit 9515f11

Please sign in to comment.