Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336950
b: refs/heads/master
c: dbfd5cc
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Oct 24, 2012
1 parent 5fc3eb9 commit db51f96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 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: 35299f884aa301deefb0881096e6d88d0964c94b
refs/heads/master: dbfd5ccc057fbefb7247614741efbf96be0258c5
13 changes: 1 addition & 12 deletions trunk/drivers/w1/masters/ds2482.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,19 +505,8 @@ static int ds2482_remove(struct i2c_client *client)
return 0;
}

static int __init sensors_ds2482_init(void)
{
return i2c_add_driver(&ds2482_driver);
}

static void __exit sensors_ds2482_exit(void)
{
i2c_del_driver(&ds2482_driver);
}
module_i2c_driver(ds2482_driver);

MODULE_AUTHOR("Ben Gardner <bgardner@wabtec.com>");
MODULE_DESCRIPTION("DS2482 driver");
MODULE_LICENSE("GPL");

module_init(sensors_ds2482_init);
module_exit(sensors_ds2482_exit);

0 comments on commit db51f96

Please sign in to comment.