Skip to contentSkip to conversation

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

PATCH New Wanlong Gao 1 participant 2 messages Jul 20, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers:input:change the statement be consistent with the style of the rest

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

---
 drivers/input/misc/ad714x-i2c.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/input/misc/ad714x-i2c.c +2 -2
index e21deb1..45a6c91 100644
@@ -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);
 }
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 drivers:input:change the statement be consistent with the style of the rest

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

---
 drivers/input/misc/ad714x-spi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/input/misc/ad714x-spi.c +2 -2
index 4120dd5..7c172cb 100644
@@ -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);
 }
Signature · 1 line
1.7.4.1