aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/adxl34x-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/adxl34x-i2c.c')
-rw-r--r--drivers/input/misc/adxl34x-i2c.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/input/misc/adxl34x-i2c.c b/drivers/input/misc/adxl34x-i2c.c
index ccacf2bb06a4..dd1d1c145a7f 100644
--- a/drivers/input/misc/adxl34x-i2c.c
+++ b/drivers/input/misc/adxl34x-i2c.c
@@ -148,17 +148,7 @@ static struct i2c_driver adxl34x_driver = {
148 .id_table = adxl34x_id, 148 .id_table = adxl34x_id,
149}; 149};
150 150
151static int __init adxl34x_i2c_init(void) 151module_i2c_driver(adxl34x_driver);
152{
153 return i2c_add_driver(&adxl34x_driver);
154}
155module_init(adxl34x_i2c_init);
156
157static void __exit adxl34x_i2c_exit(void)
158{
159 i2c_del_driver(&adxl34x_driver);
160}
161module_exit(adxl34x_i2c_exit);
162 152
163MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); 153MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
164MODULE_DESCRIPTION("ADXL345/346 Three-Axis Digital Accelerometer I2C Bus Driver"); 154MODULE_DESCRIPTION("ADXL345/346 Three-Axis Digital Accelerometer I2C Bus Driver");