Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333102
b: refs/heads/master
c: dde9959
h: refs/heads/master
v: v3
  • Loading branch information
Thierry Reding committed Oct 5, 2012
1 parent 3935052 commit c17eb08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 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: d1b6886502160eb771aefe21c1f891597138ddfe
refs/heads/master: dde9959b8d5b791a3e06e3c44f2d9ba0ec5143f0
21 changes: 1 addition & 20 deletions trunk/arch/unicore32/kernel/pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,25 +254,6 @@ static struct platform_driver puv3_pwm_driver = {
.probe = puv3_pwm_probe,
.remove = __devexit_p(pwm_remove),
};

static int __init pwm_init(void)
{
int ret = 0;

ret = platform_driver_register(&puv3_pwm_driver);
if (ret) {
printk(KERN_ERR "failed to register puv3_pwm_driver\n");
return ret;
}

return ret;
}
arch_initcall(pwm_init);

static void __exit pwm_exit(void)
{
platform_driver_unregister(&puv3_pwm_driver);
}
module_exit(pwm_exit);
module_platform_driver(puv3_pwm_driver);

MODULE_LICENSE("GPL v2");

0 comments on commit c17eb08

Please sign in to comment.