staging: unisys: Wire up proper device attr for bus
authorDon Zickus <dzickus@redhat.com>
Wed, 13 May 2015 17:22:13 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:28:55 +0000 (13:28 -0700)
commitd181dd03715b4aeed77c933ca4d5306539e41e03
tree3187feff142cc6137f8f1ad290130a9269ba593d
parent03274d38c39e13f075b2b318646acd5518331c31
staging: unisys: Wire up proper device attr for bus

This patch moves the attributes to underneath the bus device correctly.
This will help remove a bunch of cruft from the code and let the kernel
infrastructure manage the sysfs files instead of the driver.

After the move remove all the leftover code.

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/visorbus/visorbus_main.c