drivers:input:change the statement be consistent with the style of the rest
Subsystems (2)
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.
Signed-off-by Wanlong Gao <[email protected]>
--- drivers/input/misc/ad714x-i2c.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/input/misc/ad714x-i2c.c +2 -2
@@ -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
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.
Signed-off-by Wanlong Gao <[email protected]>
--- drivers/input/misc/ad714x-spi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/input/misc/ad714x-spi.c +2 -2
@@ -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