aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/g760a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/g760a.c')
-rw-r--r--drivers/hwmon/g760a.c15
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 */ 253module_i2c_driver(g760a_driver);
254
255static int __init g760a_init(void)
256{
257 return i2c_add_driver(&g760a_driver);
258}
259
260static void __exit g760a_exit(void)
261{
262 i2c_del_driver(&g760a_driver);
263}
264 254
265MODULE_AUTHOR("Herbert Valerio Riedel <hvr@gnu.org>"); 255MODULE_AUTHOR("Herbert Valerio Riedel <hvr@gnu.org>");
266MODULE_DESCRIPTION("GMT G760A driver"); 256MODULE_DESCRIPTION("GMT G760A driver");
267MODULE_LICENSE("GPL"); 257MODULE_LICENSE("GPL");
268
269module_init(g760a_init);
270module_exit(g760a_exit);