Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350662
b: refs/heads/master
c: e7cd0ae
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Dmitry Torokhov committed Dec 24, 2012
1 parent 80044c1 commit a5830b7
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 7488b1b94b46f262a60a94d9468d324201574cf8
refs/heads/master: e7cd0aeb323441228ebbffb0c5a78ea1132663fd
4 changes: 1 addition & 3 deletions trunk/drivers/input/touchscreen/wm831x-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ static int wm831x_ts_probe(struct platform_device *pdev)

wm831x_ts = devm_kzalloc(&pdev->dev, sizeof(struct wm831x_ts),
GFP_KERNEL);
input_dev = input_allocate_device();
input_dev = devm_input_allocate_device(&pdev->dev);
if (!wm831x_ts || !input_dev) {
error = -ENOMEM;
goto err_alloc;
Expand Down Expand Up @@ -376,7 +376,6 @@ static int wm831x_ts_probe(struct platform_device *pdev)
err_data_irq:
free_irq(wm831x_ts->data_irq, wm831x_ts);
err_alloc:
input_free_device(input_dev);

return error;
}
Expand All @@ -387,7 +386,6 @@ static int wm831x_ts_remove(struct platform_device *pdev)

free_irq(wm831x_ts->pd_irq, wm831x_ts);
free_irq(wm831x_ts->data_irq, wm831x_ts);
input_unregister_device(wm831x_ts->input_dev);

return 0;
}
Expand Down

0 comments on commit a5830b7

Please sign in to comment.