Skip to content

Commit

Permalink
Input: remove unneeded MODULE_VERSION() usage in touchscreen drivers
Browse files Browse the repository at this point in the history
MODULE_VERSION is useless for in-kernel drivers, so just remove all
usage of it in the touchscreen drivers.  Along with this, some
DRV_VERSION macros were removed as they are also pointless.

Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
gregkh authored and dtor committed Jan 17, 2018
1 parent 98c6a3a commit 4f7fc9b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions drivers/input/touchscreen/colibri-vf50-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <linux/types.h>

#define DRIVER_NAME "colibri-vf50-ts"
#define DRV_VERSION "1.0"

#define VF_ADC_MAX ((1 << 12) - 1)

Expand Down Expand Up @@ -382,4 +381,3 @@ module_platform_driver(vf50_touch_driver);
MODULE_AUTHOR("Sanchayan Maity");
MODULE_DESCRIPTION("Colibri VF50 Touchscreen driver");
MODULE_LICENSE("GPL");
MODULE_VERSION(DRV_VERSION);
2 changes: 0 additions & 2 deletions drivers/input/touchscreen/elants_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@

/* Device, Driver information */
#define DEVICE_NAME "elants_i2c"
#define DRV_VERSION "1.0.9"

/* Convert from rows or columns into resolution */
#define ELAN_TS_RESOLUTION(n, m) (((n) - 1) * (m))
Expand Down Expand Up @@ -1402,5 +1401,4 @@ module_i2c_driver(elants_i2c_driver);

MODULE_AUTHOR("Scott Liu <[email protected]>");
MODULE_DESCRIPTION("Elan I2c Touchscreen driver");
MODULE_VERSION(DRV_VERSION);
MODULE_LICENSE("GPL");
1 change: 0 additions & 1 deletion drivers/input/touchscreen/melfas_mip4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1611,6 +1611,5 @@ static struct i2c_driver mip4_driver = {
module_i2c_driver(mip4_driver);

MODULE_DESCRIPTION("MELFAS MIP4 Touchscreen");
MODULE_VERSION("2016.10.31");
MODULE_AUTHOR("Sangwon Jee <[email protected]>");
MODULE_LICENSE("GPL");
2 changes: 0 additions & 2 deletions drivers/input/touchscreen/wdt87xx_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <asm/unaligned.h>

#define WDT87XX_NAME "wdt87xx_i2c"
#define WDT87XX_DRV_VER "0.9.8"
#define WDT87XX_FW_NAME "wdt87xx_fw.bin"
#define WDT87XX_CFG_NAME "wdt87xx_cfg.bin"

Expand Down Expand Up @@ -1183,5 +1182,4 @@ module_i2c_driver(wdt87xx_driver);

MODULE_AUTHOR("HN Chen <[email protected]>");
MODULE_DESCRIPTION("WeidaHiTech WDT87XX Touchscreen driver");
MODULE_VERSION(WDT87XX_DRV_VER);
MODULE_LICENSE("GPL");

0 comments on commit 4f7fc9b

Please sign in to comment.