rtc: ds1307: comment and format cleanup
[deliverable/linux.git] / drivers / rtc / rtc-isl1208.c
index da8beb8cae51931162aebe3802cddc45067e8f96..dd2aeee6c66a05a7df3644f612d9033e9add496b 100644 (file)
@@ -710,22 +710,9 @@ static struct i2c_driver isl1208_driver = {
        .id_table = isl1208_id,
 };
 
-static int __init
-isl1208_init(void)
-{
-       return i2c_add_driver(&isl1208_driver);
-}
-
-static void __exit
-isl1208_exit(void)
-{
-       i2c_del_driver(&isl1208_driver);
-}
+module_i2c_driver(isl1208_driver);
 
 MODULE_AUTHOR("Herbert Valerio Riedel <hvr@gnu.org>");
 MODULE_DESCRIPTION("Intersil ISL1208 RTC driver");
 MODULE_LICENSE("GPL");
 MODULE_VERSION(DRV_VERSION);
-
-module_init(isl1208_init);
-module_exit(isl1208_exit);
This page took 0.023825 seconds and 5 git commands to generate.