aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-08-24 02:15:29 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-08-24 02:17:00 -0400
commit6a20baa9a40116715ebc99afe5b79b92f637ec23 (patch)
tree32b1db74a2ffe51404ff3c10dc3098c0907e7e17 /drivers/input/misc
parent6b4b49fea15ea3034e22ad4ca85f23c000b88e92 (diff)
Input: ad714x-i2c - change placement of __init/__exit annotations
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>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r--drivers/input/misc/ad714x-i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/ad714x-i2c.c b/drivers/input/misc/ad714x-i2c.c
index e21deb1baa8a..45a6c9168f0a 100644
--- a/drivers/input/misc/ad714x-i2c.c
+++ b/drivers/input/misc/ad714x-i2c.c
@@ -121,13 +121,13 @@ static struct i2c_driver ad714x_i2c_driver = {
121 .id_table = ad714x_id, 121 .id_table = ad714x_id,
122}; 122};
123 123
124static __init int ad714x_i2c_init(void) 124static int __init ad714x_i2c_init(void)
125{ 125{
126 return i2c_add_driver(&ad714x_i2c_driver); 126 return i2c_add_driver(&ad714x_i2c_driver);
127} 127}
128module_init(ad714x_i2c_init); 128module_init(ad714x_i2c_init);
129 129
130static __exit void ad714x_i2c_exit(void) 130static void __exit ad714x_i2c_exit(void)
131{ 131{
132 i2c_del_driver(&ad714x_i2c_driver); 132 i2c_del_driver(&ad714x_i2c_driver);
133} 133}