aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-04-01 06:41:20 -0400
committerMichal Marek <mmarek@suse.cz>2011-04-18 18:23:22 -0400
commita1b666657c3a691c4f8a0025905e88e8b4baa360 (patch)
treedd9e7bae796ceb668d1ba57d124cd568326e474e /drivers
parent152ba3942276c2a240703669ae4a3099e0a79451 (diff)
pmcraid: Drop __DATE__ usage
The kernel already prints its build timestamp during boot, no need to repeat it in random drivers and produce different object files each time. Cc: Anil Ravindranath <anil_ravindranath@pmc-sierra.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/pmcraid.c9
-rw-r--r--drivers/scsi/pmcraid.h1
2 files changed, 4 insertions, 6 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index bcf858e88c64..c83bc5e7753b 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -4249,8 +4249,8 @@ static ssize_t pmcraid_show_drv_version(
4249 char *buf 4249 char *buf
4250) 4250)
4251{ 4251{
4252 return snprintf(buf, PAGE_SIZE, "version: %s, build date: %s\n", 4252 return snprintf(buf, PAGE_SIZE, "version: %s\n",
4253 PMCRAID_DRIVER_VERSION, PMCRAID_DRIVER_DATE); 4253 PMCRAID_DRIVER_VERSION);
4254} 4254}
4255 4255
4256static struct device_attribute pmcraid_driver_version_attr = { 4256static struct device_attribute pmcraid_driver_version_attr = {
@@ -6093,9 +6093,8 @@ static int __init pmcraid_init(void)
6093 dev_t dev; 6093 dev_t dev;
6094 int error; 6094 int error;
6095 6095
6096 pmcraid_info("%s Device Driver version: %s %s\n", 6096 pmcraid_info("%s Device Driver version: %s\n",
6097 PMCRAID_DRIVER_NAME, 6097 PMCRAID_DRIVER_NAME, PMCRAID_DRIVER_VERSION);
6098 PMCRAID_DRIVER_VERSION, PMCRAID_DRIVER_DATE);
6099 6098
6100 error = alloc_chrdev_region(&dev, 0, 6099 error = alloc_chrdev_region(&dev, 0,
6101 PMCRAID_MAX_ADAPTERS, 6100 PMCRAID_MAX_ADAPTERS,
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h
index 4db210d93947..d302737c279c 100644
--- a/drivers/scsi/pmcraid.h
+++ b/drivers/scsi/pmcraid.h
@@ -43,7 +43,6 @@
43#define PMCRAID_DRIVER_NAME "PMC MaxRAID" 43#define PMCRAID_DRIVER_NAME "PMC MaxRAID"
44#define PMCRAID_DEVFILE "pmcsas" 44#define PMCRAID_DEVFILE "pmcsas"
45#define PMCRAID_DRIVER_VERSION "1.0.3" 45#define PMCRAID_DRIVER_VERSION "1.0.3"
46#define PMCRAID_DRIVER_DATE __DATE__
47 46
48#define PMCRAID_FW_VERSION_1 0x002 47#define PMCRAID_FW_VERSION_1 0x002
49 48