Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283149
b: refs/heads/master
c: 858af58
h: refs/heads/master
i:
  283147: b2cb58b
v: v3
  • Loading branch information
Guan Xuetao committed Jan 10, 2012
1 parent 72f26f4 commit 11704d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 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: a9196b0bd3284fa3388998c9208a708a8f2e4c83
refs/heads/master: 858af58f67d4aba8afb02438e74292b9273cdb10
16 changes: 2 additions & 14 deletions trunk/drivers/i2c/busses/i2c-puv3.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ static int puv3_i2c_resume(struct platform_device *dev)
#define puv3_i2c_resume NULL
#endif

MODULE_ALIAS("platform:puv3_i2c");

static struct platform_driver puv3_i2c_driver = {
.probe = puv3_i2c_probe,
.remove = __devexit_p(puv3_i2c_remove),
Expand All @@ -289,18 +287,8 @@ static struct platform_driver puv3_i2c_driver = {
}
};

static int __init puv3_i2c_init(void)
{
return platform_driver_register(&puv3_i2c_driver);
}

static void __exit puv3_i2c_exit(void)
{
platform_driver_unregister(&puv3_i2c_driver);
}

module_init(puv3_i2c_init);
module_exit(puv3_i2c_exit);
module_platform_driver(puv3_i2c_driver);

MODULE_DESCRIPTION("PKUnity v3 I2C driver");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:puv3_i2c");

0 comments on commit 11704d6

Please sign in to comment.