]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: Clean up device sysfs attributes
authorDon Zickus <dzickus@redhat.com>
Wed, 13 May 2015 17:22:17 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:28:55 +0000 (13:28 -0700)
commitdae7bc9fb0c60e6dbaebb6bf49a484e16d066ad8
treebb011886f7af4c8a135da91c984cb4f3782a7abf
parentfacdf644464d74d9e577180ca986394bdb85cbd7
staging: unisys: Clean up device sysfs attributes

Properly hook into the struct device groups element.  This allows the
core infrastructure to manage the files instead of the bus layer.  And
makes the code easier to read.

I didn't clean up the _show functions just modified them a bit to handle
the different args for now and to prevent a build warning.

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/include/visorbus.h
drivers/staging/unisys/visorbus/visorbus_main.c