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

Input: elan_i2c - remove unneeded MODULE_VERSION() usage

MODULE_VERSION is useless for in-kernel drivers, so just remove all
usage of it in the elan_i2c mouse driver. Now that this is gone, the
ELAN_DRIVER_VERSION define was also removed as it was 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
98c6a3aa 932553c4

-2
-2
drivers/input/mouse/elan_i2c_core.c
··· 42 42 #include "elan_i2c.h" 43 43 44 44 #define DRIVER_NAME "elan_i2c" 45 - #define ELAN_DRIVER_VERSION "1.6.3" 46 45 #define ELAN_VENDOR_ID 0x04f3 47 46 #define ETP_MAX_PRESSURE 255 48 47 #define ETP_FWIDTH_REDUCE 90 ··· 1292 1293 MODULE_AUTHOR("Duson Lin <dusonlin@emc.com.tw>"); 1293 1294 MODULE_DESCRIPTION("Elan I2C/SMBus Touchpad driver"); 1294 1295 MODULE_LICENSE("GPL"); 1295 - MODULE_VERSION(ELAN_DRIVER_VERSION);