Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296957
b: refs/heads/master
c: 73d99a2
h: refs/heads/master
i:
  296955: cff18af
v: v3
  • Loading branch information
Axel Lin authored and Matthew Garrett committed Mar 20, 2012
1 parent a907b9d commit 82fb6af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 36 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: b94e88bcb35b321b55ff4517c10eeec16079d46f
refs/heads/master: 73d99a224435f25976a29c3aef53590180cdb774
12 changes: 1 addition & 11 deletions trunk/drivers/platform/x86/intel_mid_powerbtn.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,7 @@ static struct platform_driver mfld_pb_driver = {
.remove = __devexit_p(mfld_pb_remove),
};

static int __init mfld_pb_init(void)
{
return platform_driver_register(&mfld_pb_driver);
}
module_init(mfld_pb_init);

static void __exit mfld_pb_exit(void)
{
platform_driver_unregister(&mfld_pb_driver);
}
module_exit(mfld_pb_exit);
module_platform_driver(mfld_pb_driver);

MODULE_AUTHOR("Hong Liu <hong.liu@intel.com>");
MODULE_DESCRIPTION("Intel Medfield Power Button Driver");
Expand Down
13 changes: 1 addition & 12 deletions trunk/drivers/platform/x86/intel_mid_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,18 +565,7 @@ static struct platform_driver mid_thermal_driver = {
.id_table = therm_id_table,
};

static int __init mid_thermal_module_init(void)
{
return platform_driver_register(&mid_thermal_driver);
}

static void __exit mid_thermal_module_exit(void)
{
platform_driver_unregister(&mid_thermal_driver);
}

module_init(mid_thermal_module_init);
module_exit(mid_thermal_module_exit);
module_platform_driver(mid_thermal_driver);

MODULE_AUTHOR("Durgadoss R <durgadoss.r@intel.com>");
MODULE_DESCRIPTION("Intel Medfield Platform Thermal Driver");
Expand Down
13 changes: 1 addition & 12 deletions trunk/drivers/platform/x86/xo1-rfkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,8 @@ static struct platform_driver xo1_rfkill_driver = {
.remove = __devexit_p(xo1_rfkill_remove),
};

static int __init xo1_rfkill_init(void)
{
return platform_driver_register(&xo1_rfkill_driver);
}

static void __exit xo1_rfkill_exit(void)
{
platform_driver_unregister(&xo1_rfkill_driver);
}
module_platform_driver(xo1_rfkill_driver);

MODULE_AUTHOR("Daniel Drake <dsd@laptop.org>");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:xo1-rfkill");

module_init(xo1_rfkill_init);
module_exit(xo1_rfkill_exit);

0 comments on commit 82fb6af

Please sign in to comment.