Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: remove unneeded MODULE_VERSION() usage in touchscreen drivers

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 <gregkh@linuxfoundation.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Greg Kroah-Hartman and committed by
Dmitry Torokhov
4f7fc9b5 98c6a3aa

-7
-2
drivers/input/touchscreen/colibri-vf50-ts.c
··· 28 28 #include <linux/types.h> 29 29 30 30 #define DRIVER_NAME "colibri-vf50-ts" 31 - #define DRV_VERSION "1.0" 32 31 33 32 #define VF_ADC_MAX ((1 << 12) - 1) 34 33 ··· 381 382 MODULE_AUTHOR("Sanchayan Maity"); 382 383 MODULE_DESCRIPTION("Colibri VF50 Touchscreen driver"); 383 384 MODULE_LICENSE("GPL"); 384 - MODULE_VERSION(DRV_VERSION);
-2
drivers/input/touchscreen/elants_i2c.c
··· 44 44 45 45 /* Device, Driver information */ 46 46 #define DEVICE_NAME "elants_i2c" 47 - #define DRV_VERSION "1.0.9" 48 47 49 48 /* Convert from rows or columns into resolution */ 50 49 #define ELAN_TS_RESOLUTION(n, m) (((n) - 1) * (m)) ··· 1401 1402 1402 1403 MODULE_AUTHOR("Scott Liu <scott.liu@emc.com.tw>"); 1403 1404 MODULE_DESCRIPTION("Elan I2c Touchscreen driver"); 1404 - MODULE_VERSION(DRV_VERSION); 1405 1405 MODULE_LICENSE("GPL");
-1
drivers/input/touchscreen/melfas_mip4.c
··· 1611 1611 module_i2c_driver(mip4_driver); 1612 1612 1613 1613 MODULE_DESCRIPTION("MELFAS MIP4 Touchscreen"); 1614 - MODULE_VERSION("2016.10.31"); 1615 1614 MODULE_AUTHOR("Sangwon Jee <jeesw@melfas.com>"); 1616 1615 MODULE_LICENSE("GPL");
-2
drivers/input/touchscreen/wdt87xx_i2c.c
··· 23 23 #include <asm/unaligned.h> 24 24 25 25 #define WDT87XX_NAME "wdt87xx_i2c" 26 - #define WDT87XX_DRV_VER "0.9.8" 27 26 #define WDT87XX_FW_NAME "wdt87xx_fw.bin" 28 27 #define WDT87XX_CFG_NAME "wdt87xx_cfg.bin" 29 28 ··· 1182 1183 1183 1184 MODULE_AUTHOR("HN Chen <hn.chen@weidahitech.com>"); 1184 1185 MODULE_DESCRIPTION("WeidaHiTech WDT87XX Touchscreen driver"); 1185 - MODULE_VERSION(WDT87XX_DRV_VER); 1186 1186 MODULE_LICENSE("GPL");