From: Alexander Curtin Date: Wed, 30 Mar 2016 14:41:45 +0000 (-0400) Subject: staging: unisys: removed 'visor_device.devnodes' field X-Git-Tag: v4.7-rc1~90^2~487 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03d0d045c8884df5e0576d3eb7dbf53fa95fe7ce;p=platform%2Fkernel%2Flinux-exynos.git staging: unisys: removed 'visor_device.devnodes' field 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 Signed-off-by: David Kershner Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index 729ca7e..cbc6d8f 100644 --- a/drivers/staging/unisys/include/visorbus.h +++ b/drivers/staging/unisys/include/visorbus.h @@ -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;