Input: ad714x-i2c - change placement of __init/__exit annotations
authorWanlong Gao <wanlong.gao@gmail.com>
Wed, 24 Aug 2011 06:15:29 +0000 (23:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Aug 2011 06:17:00 +0000 (23:17 -0700)
Change the placement of __init and __exit annotations to be consistent
with the rest of the drivers.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/ad714x-i2c.c

index e21deb1baa8abfb193d46702023540e2d09a41ca..45a6c9168f0a8945f128d3381adc4108cd969bf3 100644 (file)
@@ -121,13 +121,13 @@ static struct i2c_driver ad714x_i2c_driver = {
        .id_table = ad714x_id,
 };
 
-static __init int ad714x_i2c_init(void)
+static int __init ad714x_i2c_init(void)
 {
        return i2c_add_driver(&ad714x_i2c_driver);
 }
 module_init(ad714x_i2c_init);
 
-static __exit void ad714x_i2c_exit(void)
+static void __exit ad714x_i2c_exit(void)
 {
        i2c_del_driver(&ad714x_i2c_driver);
 }