rtc: remove useless DRV_VERSION
Many drivers are defining a DRV_VERSION. This is often only used for MODULE_VERSION and sometimes to print an info message at probe time. This is kind of pointless as they are all versionned with the kernel anyway. Also the core will print a message when a new rtc is found. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include <linux/pm_wakeirq.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#define DS1343_DRV_VERSION "01.00"
|
||||
#define DALLAS_MAXIM_DS1343 0
|
||||
#define DALLAS_MAXIM_DS1344 1
|
||||
|
||||
@@ -747,4 +746,3 @@ MODULE_DESCRIPTION("DS1343 RTC SPI Driver");
|
||||
MODULE_AUTHOR("Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>,"
|
||||
"Ankur Srivastava <sankurece@gmail.com>");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_VERSION(DS1343_DRV_VERSION);
|
||||
|
Reference in New Issue
Block a user