Message ID | 1311172467-7110-1-git-send-email-wanlong.gao@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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); }
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(-)