]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9904fded0aeb7ac925e10137f8e1ff1fe4611dfc
treedc76350e61e9c3852a3c28ee5d3c4abc791680fd
parentb40c77178c183b3e966119656a2c2282f33ece62
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