Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] drivers:input:change the statement be consistent with the style of the rest
@ 2011-07-20 14:24 Wanlong Gao
  2011-07-20 14:34 ` Wanlong Gao
  0 siblings, 1 reply; 2+ messages in thread
From: Wanlong Gao @ 2011-07-20 14:24 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, Wanlong Gao, Wanlong Gao

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

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] drivers:input:change the statement be consistent with the style of the rest
  2011-07-20 14:24 [PATCH] drivers:input:change the statement be consistent with the style of the rest Wanlong Gao
@ 2011-07-20 14:34 ` Wanlong Gao
  0 siblings, 0 replies; 2+ messages in thread
From: Wanlong Gao @ 2011-07-20 14:34 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, Wanlong Gao, Wanlong Gao

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 <gaowanlong@cn.fujitsu.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-20 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20 14:24 [PATCH] drivers:input:change the statement be consistent with the style of the rest Wanlong Gao
2011-07-20 14:34 ` Wanlong Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox