diff options
Diffstat (limited to 'drivers/hwmon/g760a.c')
-rw-r--r-- | drivers/hwmon/g760a.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/hwmon/g760a.c b/drivers/hwmon/g760a.c index 81b6e3533fd6..052e30484505 100644 --- a/drivers/hwmon/g760a.c +++ b/drivers/hwmon/g760a.c | |||
@@ -250,21 +250,8 @@ static int g760a_remove(struct i2c_client *client) | |||
250 | return 0; | 250 | return 0; |
251 | } | 251 | } |
252 | 252 | ||
253 | /* module management */ | 253 | module_i2c_driver(g760a_driver); |
254 | |||
255 | static int __init g760a_init(void) | ||
256 | { | ||
257 | return i2c_add_driver(&g760a_driver); | ||
258 | } | ||
259 | |||
260 | static void __exit g760a_exit(void) | ||
261 | { | ||
262 | i2c_del_driver(&g760a_driver); | ||
263 | } | ||
264 | 254 | ||
265 | MODULE_AUTHOR("Herbert Valerio Riedel <hvr@gnu.org>"); | 255 | MODULE_AUTHOR("Herbert Valerio Riedel <hvr@gnu.org>"); |
266 | MODULE_DESCRIPTION("GMT G760A driver"); | 256 | MODULE_DESCRIPTION("GMT G760A driver"); |
267 | MODULE_LICENSE("GPL"); | 257 | MODULE_LICENSE("GPL"); |
268 | |||
269 | module_init(g760a_init); | ||
270 | module_exit(g760a_exit); | ||