Linux Input/HID development
 help / color / mirror / Atom feed
From: Wanlong Gao <wanlong.gao@gmail.com>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, Wanlong Gao <wanlong.gao@gmail.com>,
	Wanlong Gao <gaowanlong@cn.fujitsu.com>
Subject: [PATCH] drivers:input:change the statement be consistent with the style of the rest
Date: Wed, 20 Jul 2011 22:34:27 +0800	[thread overview]
Message-ID: <1311172467-7110-1-git-send-email-wanlong.gao@gmail.com> (raw)
In-Reply-To: <1311171857-6869-1-git-send-email-wanlong.gao@gmail.com>

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


      reply	other threads:[~2011-07-20 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311172467-7110-1-git-send-email-wanlong.gao@gmail.com \
    --to=wanlong.gao@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=gaowanlong@cn.fujitsu.com \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox