Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302149
b: refs/heads/master
c: 5af34e6
h: refs/heads/master
i:
  302147: 2e8996b
v: v3
  • Loading branch information
Mark Brown committed Apr 4, 2012
1 parent d4806ff commit 702f6e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 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: 8df8d8a03865b468318302ba9410aad92e94aaa6
refs/heads/master: 5af34e60dc6d1943ade104bca0b289486b39bc4a
18 changes: 1 addition & 17 deletions trunk/drivers/regulator/lp3971.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,23 +517,7 @@ static struct i2c_driver lp3971_i2c_driver = {
.id_table = lp3971_i2c_id,
};

static int __init lp3971_module_init(void)
{
int ret;

ret = i2c_add_driver(&lp3971_i2c_driver);
if (ret != 0)
pr_err("Failed to register I2C driver: %d\n", ret);

return ret;
}
module_init(lp3971_module_init);

static void __exit lp3971_module_exit(void)
{
i2c_del_driver(&lp3971_i2c_driver);
}
module_exit(lp3971_module_exit);
module_i2c_driver(lp3971_i2c_driver);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marek Szyprowski <m.szyprowski@samsung.com>");
Expand Down

0 comments on commit 702f6e9

Please sign in to comment.