linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [INPUT] removed unused #include <version.h>
@ 2008-08-16 23:50 Huang Weiyi
  2008-08-18 15:04 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Weiyi @ 2008-08-16 23:50 UTC (permalink / raw)
  To: dmitry.torokhov, dtor; +Cc: linux-input

The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  drivers/input/keyboard/gpio_keys.c
  drivers/input/mouse/gpio_mouse.c
  drivers/input/tablet/gtco.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>

diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index be58730..a0fcc4c 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -9,7 +9,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/version.h>
 
 #include <linux/init.h>
 #include <linux/fs.h>
diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c
index 3392901..72cf5e3 100644
--- a/drivers/input/mouse/gpio_mouse.c
+++ b/drivers/input/mouse/gpio_mouse.c
@@ -9,7 +9,6 @@
  */
 
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/input-polldev.h>
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c
index b9b7a98..7df0228 100644
--- a/drivers/input/tablet/gtco.c
+++ b/drivers/input/tablet/gtco.c
@@ -64,7 +64,6 @@ Scott Hill shill@gtcocalcomp.com
 #include <asm/byteorder.h>
 
 
-#include <linux/version.h>
 #include <linux/usb/input.h>
 
 /* Version with a Major number of 2 is for kernel inclusion only. */


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

* Re: [INPUT] removed unused #include <version.h>
  2008-08-16 23:50 [INPUT] removed unused #include <version.h> Huang Weiyi
@ 2008-08-18 15:04 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2008-08-18 15:04 UTC (permalink / raw)
  To: Huang Weiyi; +Cc: linux-input

On Sun, Aug 17, 2008 at 07:50:53AM +0800, Huang Weiyi wrote:
> The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>   drivers/input/keyboard/gpio_keys.c
>   drivers/input/mouse/gpio_mouse.c
>   drivers/input/tablet/gtco.c
> 
> This patch removes the said #include <version.h>.
> 

Folded with the other version.h removeal patch and applied, thank you.

-- 
Dmitry

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

end of thread, other threads:[~2008-08-18 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-16 23:50 [INPUT] removed unused #include <version.h> Huang Weiyi
2008-08-18 15:04 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).