Re: [PATCH] i2c driver changes for 2.5.68

From: Greg KH (greg@kroah.com)
Date: Thu Apr 24 2003 - 18:59:06 EST


ChangeSet 1.1179.3.3, 2003/04/23 11:33:28-07:00, hch@lst.de

[PATCH] i2c: remove dead init code from i2c-sensors.c

 drivers/i2c/i2c-sensor.c | 12 ------------
 1 files changed, 12 deletions(-)

diff -Nru a/drivers/i2c/i2c-sensor.c b/drivers/i2c/i2c-sensor.c
--- a/drivers/i2c/i2c-sensor.c Thu Apr 24 16:47:26 2003
+++ b/drivers/i2c/i2c-sensor.c Thu Apr 24 16:47:26 2003
@@ -163,20 +163,8 @@
         return 0;
 }
 
-static int __init i2c_sensor_init(void)
-{
- return 0;
-}
-
-static void __exit i2c_sensor_exit(void)
-{
-}
-
 EXPORT_SYMBOL(i2c_detect);
 
 MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl>");
 MODULE_DESCRIPTION("i2c-sensor driver");
 MODULE_LICENSE("GPL");
-
-module_init(i2c_sensor_init);
-module_exit(i2c_sensor_exit);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:19 EST