lm93.c (310ec79210d754afe51e2e4a983e846b60179abd) | lm93.c (c3813d6af177fab19e322f3114b1f64fbcf08d71) |
---|---|
1/* 2 lm93.c - Part of lm_sensors, Linux kernel modules for hardware monitoring 3 4 Author/Maintainer: Mark M. Hoffman <mhoffman@lightlink.com> 5 Copyright (c) 2004 Utilitek Systems, Inc. 6 7 derived in part from lm78.c: 8 Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> --- 2602 unchanged lines hidden (view full) --- 2611 .class = I2C_CLASS_HWMON, 2612 .driver = { 2613 .name = "lm93", 2614 }, 2615 .probe = lm93_probe, 2616 .remove = lm93_remove, 2617 .id_table = lm93_id, 2618 .detect = lm93_detect, | 1/* 2 lm93.c - Part of lm_sensors, Linux kernel modules for hardware monitoring 3 4 Author/Maintainer: Mark M. Hoffman <mhoffman@lightlink.com> 5 Copyright (c) 2004 Utilitek Systems, Inc. 6 7 derived in part from lm78.c: 8 Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> --- 2602 unchanged lines hidden (view full) --- 2611 .class = I2C_CLASS_HWMON, 2612 .driver = { 2613 .name = "lm93", 2614 }, 2615 .probe = lm93_probe, 2616 .remove = lm93_remove, 2617 .id_table = lm93_id, 2618 .detect = lm93_detect, |
2619 .address_data = &addr_data, | 2619 .address_list = normal_i2c, |
2620}; 2621 2622static int __init lm93_init(void) 2623{ 2624 return i2c_add_driver(&lm93_driver); 2625} 2626 2627static void __exit lm93_exit(void) 2628{ 2629 i2c_del_driver(&lm93_driver); 2630} 2631 2632MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>, " 2633 "Hans J. Koch <hjk@linutronix.de"); 2634MODULE_DESCRIPTION("LM93 driver"); 2635MODULE_LICENSE("GPL"); 2636 2637module_init(lm93_init); 2638module_exit(lm93_exit); | 2620}; 2621 2622static int __init lm93_init(void) 2623{ 2624 return i2c_add_driver(&lm93_driver); 2625} 2626 2627static void __exit lm93_exit(void) 2628{ 2629 i2c_del_driver(&lm93_driver); 2630} 2631 2632MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>, " 2633 "Hans J. Koch <hjk@linutronix.de"); 2634MODULE_DESCRIPTION("LM93 driver"); 2635MODULE_LICENSE("GPL"); 2636 2637module_init(lm93_init); 2638module_exit(lm93_exit); |