[PATCH] drivers:input:change the statement be consistent with the style of the rest

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE5575d

2 messages, 1 author, 2011-07-20 · open the first message on its own page

[PATCH] drivers:input:change the statement be consistent with the style of the rest

From: Wanlong Gao <hidden>
Date: 2011-07-20 14:26:35

Change the statement of *_init() and *_exit() to be consistent
with the style of the rest.

Signed-off-by: Wanlong Gao <redacted>
---
 drivers/input/misc/ad714x-i2c.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
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);
 }
-- 
1.7.4.1

[PATCH] drivers:input:change the statement be consistent with the style of the rest

From: Wanlong Gao <hidden>
Date: 2011-07-20 14:36:43

Change the statement of *_init() and *_exit() in ad714x-spi.c
to be consistent with the style of the rest.

Signed-off-by: Wanlong Gao <redacted>
---
 drivers/input/misc/ad714x-spi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/misc/ad714x-spi.c b/drivers/input/misc/ad714x-spi.c
index 4120dd5..7c172cb 100644
--- a/drivers/input/misc/ad714x-spi.c
+++ b/drivers/input/misc/ad714x-spi.c
@@ -85,13 +85,13 @@ static struct spi_driver ad714x_spi_driver = {
 	.remove		= __devexit_p(ad714x_spi_remove),
 };
 
-static __init int ad714x_spi_init(void)
+static int __init ad714x_spi_init(void)
 {
 	return spi_register_driver(&ad714x_spi_driver);
 }
 module_init(ad714x_spi_init);
 
-static __exit void ad714x_spi_exit(void)
+static void __exit ad714x_spi_exit(void)
 {
 	spi_unregister_driver(&ad714x_spi_driver);
 }
-- 
1.7.4.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help