aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ds1682.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/ds1682.c')
-rw-r--r--drivers/misc/ds1682.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/misc/ds1682.c b/drivers/misc/ds1682.c
index a513f0aa6432..154b02e5094f 100644
--- a/drivers/misc/ds1682.c
+++ b/drivers/misc/ds1682.c
@@ -250,19 +250,8 @@ static struct i2c_driver ds1682_driver = {
250 .id_table = ds1682_id, 250 .id_table = ds1682_id,
251}; 251};
252 252
253static int __init ds1682_init(void) 253module_i2c_driver(ds1682_driver);
254{
255 return i2c_add_driver(&ds1682_driver);
256}
257
258static void __exit ds1682_exit(void)
259{
260 i2c_del_driver(&ds1682_driver);
261}
262 254
263MODULE_AUTHOR("Grant Likely <grant.likely@secretlab.ca>"); 255MODULE_AUTHOR("Grant Likely <grant.likely@secretlab.ca>");
264MODULE_DESCRIPTION("DS1682 Elapsed Time Indicator driver"); 256MODULE_DESCRIPTION("DS1682 Elapsed Time Indicator driver");
265MODULE_LICENSE("GPL"); 257MODULE_LICENSE("GPL");
266
267module_init(ds1682_init);
268module_exit(ds1682_exit);