Commit 99676dae authored by Christoph Hellwig's avatar Christoph Hellwig

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

parent 8dc532c4
...@@ -163,20 +163,8 @@ int i2c_detect(struct i2c_adapter *adapter, ...@@ -163,20 +163,8 @@ int i2c_detect(struct i2c_adapter *adapter,
return 0; return 0;
} }
static int __init i2c_sensor_init(void)
{
return 0;
}
static void __exit i2c_sensor_exit(void)
{
}
EXPORT_SYMBOL(i2c_detect); EXPORT_SYMBOL(i2c_detect);
MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl>"); MODULE_AUTHOR("Frodo Looijaard <frodol@dds.nl>");
MODULE_DESCRIPTION("i2c-sensor driver"); MODULE_DESCRIPTION("i2c-sensor driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_init(i2c_sensor_init);
module_exit(i2c_sensor_exit);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment