summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include
diff options
context:
space:
mode:
authorJon Frisch <jon.frisch@unisys.com>2016-09-26 11:03:41 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-27 13:06:16 +0200
commite82ed633eb814f25861d8942ed33881e4b36d5c4 (patch)
tree5d26f3b03e23c8abbb24e83d803e60c525b253c8 /drivers/staging/unisys/include
parent2460563fb490b8061d614f99b1ce1a470fde4913 (diff)
downloadop-kernel-dev-e82ed633eb814f25861d8942ed33881e4b36d5c4.zip
op-kernel-dev-e82ed633eb814f25861d8942ed33881e4b36d5c4.tar.gz
staging: unisys: remove driver version from struct visor_driver
This patch removes the all instances of the driver version from struct visor_driver. This includes removing version, vertag (a human readable version string of the driver version) and version_attr from struct visor_driver. This resulted in removing the bus attributes and driver attributes which only contained the driver version. The utsname function is used to replace the driver version with the kernel version in bus_device_info_init(). Signed-off-by: Jon Frisch <jon.frisch@unisys.com> Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/include')
-rw-r--r--drivers/staging/unisys/include/visorbus.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h
index 993cf19..2e508c2 100644
--- a/drivers/staging/unisys/include/visorbus.h
+++ b/drivers/staging/unisys/include/visorbus.h
@@ -66,8 +66,6 @@ struct visor_channeltype_descriptor {
* struct visor_driver - Information provided by each visor driver when it
* registers with the visorbus driver.
* @name: Name of the visor driver.
- * @version: The numbered version of the driver (x.x.xxx).
- * @vertag: A human readable version string.
* @owner: The module owner.
* @channel_types: Types of channels handled by this driver, ending with
* a zero GUID. Our specialized BUS.match() method knows
@@ -94,12 +92,9 @@ struct visor_channeltype_descriptor {
* @resume: Behaves similar to pause.
* @driver: Private reference to the device driver. For use by bus
* driver only.
- * @version_attr: Private version field. For use by bus driver only.
*/
struct visor_driver {
const char *name;
- const char *version;
- const char *vertag;
struct module *owner;
struct visor_channeltype_descriptor *channel_types;
int (*probe)(struct visor_device *dev);
@@ -112,7 +107,6 @@ struct visor_driver {
/* These fields are for private use by the bus driver only. */
struct device_driver driver;
- struct driver_attribute version_attr;
};
#define to_visor_driver(x) ((x) ? \
OpenPOWER on IntegriCloud