Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282399
b: refs/heads/master
c: 18b2b18
h: refs/heads/master
i:
  282397: cef21eb
  282395: 4eec1f5
  282391: 0383821
  282383: e5c06d1
  282367: 77eaa2a
v: v3
  • Loading branch information
Axel Lin authored and Dmitry Torokhov committed Dec 12, 2011
1 parent 76d670c commit 269b66d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: ff4d049246727087ee797b6802e7c1bd4d5d172c
refs/heads/master: 18b2b1813f51a314d2468d0c103e593936e5f534
14 changes: 2 additions & 12 deletions trunk/drivers/input/misc/mc13783-pwrbutton.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ static int __devexit mc13783_pwrbutton_remove(struct platform_device *pdev)
return 0;
}

struct platform_driver mc13783_pwrbutton_driver = {
static struct platform_driver mc13783_pwrbutton_driver = {
.probe = mc13783_pwrbutton_probe,
.remove = __devexit_p(mc13783_pwrbutton_remove),
.driver = {
Expand All @@ -264,17 +264,7 @@ struct platform_driver mc13783_pwrbutton_driver = {
},
};

static int __init mc13783_pwrbutton_init(void)
{
return platform_driver_register(&mc13783_pwrbutton_driver);
}
module_init(mc13783_pwrbutton_init);

static void __exit mc13783_pwrbutton_exit(void)
{
platform_driver_unregister(&mc13783_pwrbutton_driver);
}
module_exit(mc13783_pwrbutton_exit);
module_platform_driver(mc13783_pwrbutton_driver);

MODULE_ALIAS("platform:mc13783-pwrbutton");
MODULE_DESCRIPTION("MC13783 Power Button");
Expand Down

0 comments on commit 269b66d

Please sign in to comment.