diff options
author | Don Zickus <dzickus@redhat.com> | 2015-05-13 13:22:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 13:28:55 -0700 |
commit | 795731627c74f2bcf6b289bcc5c06d7d822f11a5 (patch) | |
tree | bb011886f7af4c8a135da91c984cb4f3782a7abf /drivers/staging/unisys/include | |
parent | 5ace402e390e99e72d4c4d15bfd1fe9b0bdfec58 (diff) |
staging: unisys: Clean up device sysfs attributes
Properly hook into the struct device groups element. This allows the
core infrastructure to manage the files instead of the bus layer. And
makes the code easier to read.
I didn't clean up the _show functions just modified them a bit to handle
the different args for now and to prevent a build warning.
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index d54282222f65..6c551df1adc0 100644 --- a/drivers/staging/unisys/include/visorbus.h +++ b/drivers/staging/unisys/include/visorbus.h @@ -128,7 +128,6 @@ struct visor_device { struct periodic_work *periodic_work; bool being_removed; bool responded_to_device_create; - struct kobject kobjchannel; /* visorbus<x>/dev<y>/channel/ */ struct kobject kobjdevmajorminor; /* visorbus<x>/dev<y>/devmajorminor/*/ struct { int major, minor; |