]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: Convert the device attributes to visor_device
authorDon Zickus <dzickus@redhat.com>
Wed, 13 May 2015 17:22:23 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:28:56 +0000 (13:28 -0700)
commitfe83d2a0ac81943a94b49f01823bcaa5e9be2901
tree8c3e3baf6440b226414b45c2f202eb72f44e1495
parent344bf5efba6ddff13bc45455401b08066e191019
staging: unisys: Convert the device attributes to visor_device

Convert the device attribute files to properly use visor_device.
This removes a whole bunch of checks and assumptions and simplifies
the code.  Everything is straightforward.

No testing down as I can't mimic channel info correctl.

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