]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea00850dcf357c2062a68adf7bfebe93c95c9f30
tree3187feff142cc6137f8f1ad290130a9269ba593d
parent9904fded0aeb7ac925e10137f8e1ff1fe4611dfc
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