staging: unisys: Clean up device sysfs attributes
authorDon Zickus <dzickus@redhat.com>
Wed, 13 May 2015 17:22:17 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:28:55 +0000 (13:28 -0700)
commit795731627c74f2bcf6b289bcc5c06d7d822f11a5
treebb011886f7af4c8a135da91c984cb4f3782a7abf
parent5ace402e390e99e72d4c4d15bfd1fe9b0bdfec58
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>
drivers/staging/unisys/include/visorbus.h
drivers/staging/unisys/visorbus/visorbus_main.c