aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83l785ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83l785ts.c')
-rw-r--r--drivers/hwmon/w83l785ts.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/w83l785ts.c b/drivers/hwmon/w83l785ts.c
index edfc1ec7e77a..bc071441a3fe 100644
--- a/drivers/hwmon/w83l785ts.c
+++ b/drivers/hwmon/w83l785ts.c
@@ -302,19 +302,8 @@ static struct w83l785ts_data *w83l785ts_update_device(struct device *dev)
302 return data; 302 return data;
303} 303}
304 304
305static int __init sensors_w83l785ts_init(void) 305module_i2c_driver(w83l785ts_driver);
306{
307 return i2c_add_driver(&w83l785ts_driver);
308}
309
310static void __exit sensors_w83l785ts_exit(void)
311{
312 i2c_del_driver(&w83l785ts_driver);
313}
314 306
315MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>"); 307MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>");
316MODULE_DESCRIPTION("W83L785TS-S driver"); 308MODULE_DESCRIPTION("W83L785TS-S driver");
317MODULE_LICENSE("GPL"); 309MODULE_LICENSE("GPL");
318
319module_init(sensors_w83l785ts_init);
320module_exit(sensors_w83l785ts_exit);