diff options
Diffstat (limited to 'drivers/hwmon/w83l785ts.c')
-rw-r--r-- | drivers/hwmon/w83l785ts.c | 13 |
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 | ||
305 | static int __init sensors_w83l785ts_init(void) | 305 | module_i2c_driver(w83l785ts_driver); |
306 | { | ||
307 | return i2c_add_driver(&w83l785ts_driver); | ||
308 | } | ||
309 | |||
310 | static void __exit sensors_w83l785ts_exit(void) | ||
311 | { | ||
312 | i2c_del_driver(&w83l785ts_driver); | ||
313 | } | ||
314 | 306 | ||
315 | MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>"); | 307 | MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>"); |
316 | MODULE_DESCRIPTION("W83L785TS-S driver"); | 308 | MODULE_DESCRIPTION("W83L785TS-S driver"); |
317 | MODULE_LICENSE("GPL"); | 309 | MODULE_LICENSE("GPL"); |
318 | |||
319 | module_init(sensors_w83l785ts_init); | ||
320 | module_exit(sensors_w83l785ts_exit); | ||