ds1621.c (310ec79210d754afe51e2e4a983e846b60179abd) | ds1621.c (c3813d6af177fab19e322f3114b1f64fbcf08d71) |
---|---|
1/* 2 ds1621.c - Part of lm_sensors, Linux kernel modules for hardware 3 monitoring 4 Christian W. Zuckschwerdt <zany@triq.net> 2000-11-23 5 based on lm75.c by Frodo Looijaard <frodol@dds.nl> 6 Ported to Linux 2.6 by Aurelien Jarno <aurelien@aurel32.net> with 7 the help of Jean Delvare <khali@linux-fr.org> 8 --- 307 unchanged lines hidden (view full) --- 316 .class = I2C_CLASS_HWMON, 317 .driver = { 318 .name = "ds1621", 319 }, 320 .probe = ds1621_probe, 321 .remove = ds1621_remove, 322 .id_table = ds1621_id, 323 .detect = ds1621_detect, | 1/* 2 ds1621.c - Part of lm_sensors, Linux kernel modules for hardware 3 monitoring 4 Christian W. Zuckschwerdt <zany@triq.net> 2000-11-23 5 based on lm75.c by Frodo Looijaard <frodol@dds.nl> 6 Ported to Linux 2.6 by Aurelien Jarno <aurelien@aurel32.net> with 7 the help of Jean Delvare <khali@linux-fr.org> 8 --- 307 unchanged lines hidden (view full) --- 316 .class = I2C_CLASS_HWMON, 317 .driver = { 318 .name = "ds1621", 319 }, 320 .probe = ds1621_probe, 321 .remove = ds1621_remove, 322 .id_table = ds1621_id, 323 .detect = ds1621_detect, |
324 .address_data = &addr_data, | 324 .address_list = normal_i2c, |
325}; 326 327static int __init ds1621_init(void) 328{ 329 return i2c_add_driver(&ds1621_driver); 330} 331 332static void __exit ds1621_exit(void) 333{ 334 i2c_del_driver(&ds1621_driver); 335} 336 337 338MODULE_AUTHOR("Christian W. Zuckschwerdt <zany@triq.net>"); 339MODULE_DESCRIPTION("DS1621 driver"); 340MODULE_LICENSE("GPL"); 341 342module_init(ds1621_init); 343module_exit(ds1621_exit); | 325}; 326 327static int __init ds1621_init(void) 328{ 329 return i2c_add_driver(&ds1621_driver); 330} 331 332static void __exit ds1621_exit(void) 333{ 334 i2c_del_driver(&ds1621_driver); 335} 336 337 338MODULE_AUTHOR("Christian W. Zuckschwerdt <zany@triq.net>"); 339MODULE_DESCRIPTION("DS1621 driver"); 340MODULE_LICENSE("GPL"); 341 342module_init(ds1621_init); 343module_exit(ds1621_exit); |