Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131924
b: refs/heads/master
c: 840207e
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König authored and Dmitry Torokhov committed Jan 13, 2009
1 parent 4c38644 commit 59db752
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: f2d8dc75a14479f8803a70cf637b5d79a3bb87f1
refs/heads/master: 840207edfa8b5e5b46e0d268bf33efe71fecea20
9 changes: 5 additions & 4 deletions trunk/drivers/input/touchscreen/corgi_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ static int corgits_resume(struct platform_device *dev)
#define corgits_resume NULL
#endif

static int __init corgits_probe(struct platform_device *pdev)
static int __devinit corgits_probe(struct platform_device *pdev)
{
struct corgi_ts *corgi_ts;
struct input_dev *input_dev;
Expand Down Expand Up @@ -343,7 +343,7 @@ static int __init corgits_probe(struct platform_device *pdev)
return err;
}

static int corgits_remove(struct platform_device *pdev)
static int __devexit corgits_remove(struct platform_device *pdev)
{
struct corgi_ts *corgi_ts = platform_get_drvdata(pdev);

Expand All @@ -352,12 +352,13 @@ static int corgits_remove(struct platform_device *pdev)
corgi_ts->machinfo->put_hsync();
input_unregister_device(corgi_ts->input);
kfree(corgi_ts);

return 0;
}

static struct platform_driver corgits_driver = {
.probe = corgits_probe,
.remove = corgits_remove,
.remove = __devexit_p(corgits_remove),
.suspend = corgits_suspend,
.resume = corgits_resume,
.driver = {
Expand All @@ -366,7 +367,7 @@ static struct platform_driver corgits_driver = {
},
};

static int __devinit corgits_init(void)
static int __init corgits_init(void)
{
return platform_driver_register(&corgits_driver);
}
Expand Down

0 comments on commit 59db752

Please sign in to comment.