]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit5ecbd5d46d8ce16df024d15cd8dee9e536770552
tree8c3e3baf6440b226414b45c2f202eb72f44e1495
parent24c5a74e7d1792fc5921577676aea5f11a15bd45
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