Bläddra i källkod

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>
Wanlong Gao 14 år sedan
förälder
incheckning
6a20baa9a4
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      drivers/input/misc/ad714x-i2c.c

+ 2 - 2
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);
 }