staging: unisys: Embed struct device for easier handling of attr
authorDon Zickus <dzickus@redhat.com>
Wed, 13 May 2015 17:22:12 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:28:55 +0000 (13:28 -0700)
commit03274d38c39e13f075b2b318646acd5518331c31
treedc76350e61e9c3852a3c28ee5d3c4abc791680fd
parent1b56ac48c1c643aacd078b9f100ba448376a0183
staging: unisys: Embed struct device for easier handling of attr

Handling the sysfs attributes become easier to deal with when you can just
run container_of(dev) to get devdata.

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