aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/lis3lv02d/lis3lv02d_i2c.c')
-rw-r--r--drivers/misc/lis3lv02d/lis3lv02d_i2c.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
index c02fea029dcf..e8c0019da97a 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
@@ -256,19 +256,8 @@ static struct i2c_driver lis3lv02d_i2c_driver = {
256 .id_table = lis3lv02d_id, 256 .id_table = lis3lv02d_id,
257}; 257};
258 258
259static int __init lis3lv02d_init(void) 259module_i2c_driver(lis3lv02d_i2c_driver);
260{
261 return i2c_add_driver(&lis3lv02d_i2c_driver);
262}
263
264static void __exit lis3lv02d_exit(void)
265{
266 i2c_del_driver(&lis3lv02d_i2c_driver);
267}
268 260
269MODULE_AUTHOR("Nokia Corporation"); 261MODULE_AUTHOR("Nokia Corporation");
270MODULE_DESCRIPTION("lis3lv02d I2C interface"); 262MODULE_DESCRIPTION("lis3lv02d I2C interface");
271MODULE_LICENSE("GPL"); 263MODULE_LICENSE("GPL");
272
273module_init(lis3lv02d_init);
274module_exit(lis3lv02d_exit);