From 6a20baa9a40116715ebc99afe5b79b92f637ec23 Mon Sep 17 00:00:00 2001 From: Wanlong Gao Date: Tue, 23 Aug 2011 23:15:29 -0700 Subject: 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 Signed-off-by: Dmitry Torokhov diff --git a/drivers/input/misc/ad714x-i2c.c b/drivers/input/misc/ad714x-i2c.c index e21deb1..45a6c91 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 = { .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); } -- cgit v0.10.2