Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93964
b: refs/heads/master
c: c464652
h: refs/heads/master
v: v3
  • Loading branch information
Sam Ravnborg authored and Linus Torvalds committed Apr 28, 2008
1 parent 626d796 commit 161a11b
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 4edac2b442d6176afb0ae431123993dc00882987
refs/heads/master: c464652813fe128c346ce6e7ec8fb0d2b67de6fb
8 changes: 4 additions & 4 deletions trunk/drivers/rtc/rtc-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static int __devexit test_remove(struct platform_device *plat_dev)
return 0;
}

static struct platform_driver test_drv = {
static struct platform_driver test_driver = {
.probe = test_probe,
.remove = __devexit_p(test_remove),
.driver = {
Expand All @@ -160,7 +160,7 @@ static int __init test_init(void)
{
int err;

if ((err = platform_driver_register(&test_drv)))
if ((err = platform_driver_register(&test_driver)))
return err;

if ((test0 = platform_device_alloc("rtc-test", 0)) == NULL) {
Expand Down Expand Up @@ -191,15 +191,15 @@ static int __init test_init(void)
platform_device_put(test0);

exit_driver_unregister:
platform_driver_unregister(&test_drv);
platform_driver_unregister(&test_driver);
return err;
}

static void __exit test_exit(void)
{
platform_device_unregister(test0);
platform_device_unregister(test1);
platform_driver_unregister(&test_drv);
platform_driver_unregister(&test_driver);
}

MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>");
Expand Down

0 comments on commit 161a11b

Please sign in to comment.