Skip to content

Commit

Permalink
Input: remove version.h from drivers that don't need it
Browse files Browse the repository at this point in the history
If a driver dies not use LINUX_VERSION_CODE nor KERNEL_VERSION
then it does not need to include version.h

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Huang Weiyi authored and Dmitry Torokhov committed Aug 18, 2008
1 parent 26135ed commit 0cc1fe2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion drivers/input/keyboard/gpio_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

#include <linux/module.h>
#include <linux/version.h>

#include <linux/init.h>
#include <linux/fs.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/mouse/gpio_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/tablet/gtco.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
1 change: 0 additions & 1 deletion drivers/input/touchscreen/wm9705.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/delay.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/touchscreen/wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/delay.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/touchscreen/wm9713.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/delay.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/touchscreen/wm97xx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
Expand Down

0 comments on commit 0cc1fe2

Please sign in to comment.