summaryrefslogtreecommitdiffstats
path: root/drivers/misc/genwqe/card_ddcb.c
diff options
context:
space:
mode:
authorFrank Haverkamp <haver@linux.vnet.ibm.com>2014-09-10 16:37:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-24 08:15:46 +0200
commit64df2ec5108de3f627761cade7b31e5d583ce448 (patch)
tree2f4cc6f0d77b6e4f463dc7988cf74f792712bd1a /drivers/misc/genwqe/card_ddcb.c
parentGenWQE: Check pci_get_totalvfs return code (diff)
downloadlinux-64df2ec5108de3f627761cade7b31e5d583ce448.tar.xz
linux-64df2ec5108de3f627761cade7b31e5d583ce448.zip
GenWQE: Remove sysfs entry for driver version
A special sysfs entry to display the driver version is not needed. We left the driver version and adjusted it to the naming a lot of other drivers use. The information can be retrieved by using modinfo genwqe_card. modinfo genwqe_card will provide the same information. Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/genwqe/card_ddcb.c')
-rw-r--r--drivers/misc/genwqe/card_ddcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/genwqe/card_ddcb.c b/drivers/misc/genwqe/card_ddcb.c
index dc9851a5540e..1102e1ef8104 100644
--- a/drivers/misc/genwqe/card_ddcb.c
+++ b/drivers/misc/genwqe/card_ddcb.c
@@ -740,7 +740,7 @@ int genwqe_init_debug_data(struct genwqe_dev *cd, struct genwqe_debug_data *d)
}
len = sizeof(d->driver_version);
- snprintf(d->driver_version, len, "%s", DRV_VERS_STRING);
+ snprintf(d->driver_version, len, "%s", DRV_VERSION);
d->slu_unitcfg = cd->slu_unitcfg;
d->app_unitcfg = cd->app_unitcfg;
return 0;