From: Wanlong Gao Date: Wed, 24 Aug 2011 06:15:29 +0000 (-0700) Subject: Input: ad714x-i2c - change placement of __init/__exit annotations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a20baa9a40116715ebc99afe5b79b92f637ec23;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 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 = { .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); }