staging: unisys: removed 'visor_device.devnodes' field
authorAlexander Curtin <alexander.curtin@unisys.com>
Wed, 30 Mar 2016 14:41:45 +0000 (10:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 01:28:32 +0000 (18:28 -0700)
The 'visor_device.devnodes' field was used for displaying driver version
information through the devmajorminor sysfs attribute, which has recently
been removed, rendering the field unnecessary.

Signed-off-by: Alexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/visorbus.h

index 729ca7e..cbc6d8f 100644 (file)
@@ -136,12 +136,6 @@ struct visor_device {
        struct periodic_work *periodic_work;
        bool being_removed;
        bool responded_to_device_create;
-       struct {
-               int major, minor;
-               void *attr;     /* private use by devmajorminor_attr.c you can
-                                * change this constant to whatever you want
-                                */
-       } devnodes[5];
        /* the code will detect and behave appropriately) */
        struct semaphore visordriver_callback_lock;
        bool pausing;