Skip to content

Commit

Permalink
Input: ad714x-i2c - change placement of __init/__exit annotations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wanlong Gao authored and Dmitry Torokhov committed Aug 24, 2011
1 parent 6b4b49f commit 6a20baa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/misc/ad714x-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6a20baa

Please sign in to comment.