aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ad7414.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ad7414.c')
-rw-r--r--drivers/hwmon/ad7414.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c
index edbdb6d9a837..36465006c4fb 100644
--- a/drivers/hwmon/ad7414.c
+++ b/drivers/hwmon/ad7414.c
@@ -256,17 +256,7 @@ static struct i2c_driver ad7414_driver = {
256 .id_table = ad7414_id, 256 .id_table = ad7414_id,
257}; 257};
258 258
259static int __init ad7414_init(void) 259module_i2c_driver(ad7414_driver);
260{
261 return i2c_add_driver(&ad7414_driver);
262}
263module_init(ad7414_init);
264
265static void __exit ad7414_exit(void)
266{
267 i2c_del_driver(&ad7414_driver);
268}
269module_exit(ad7414_exit);
270 260
271MODULE_AUTHOR("Stefan Roese <sr at denx.de>, " 261MODULE_AUTHOR("Stefan Roese <sr at denx.de>, "
272 "Frank Edelhaeuser <frank.edelhaeuser at spansion.com>"); 262 "Frank Edelhaeuser <frank.edelhaeuser at spansion.com>");