]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: move DEVICE_ATTR_RO defs as-per conventions
authorTim Sell <Timothy.Sell@unisys.com>
Thu, 3 Nov 2016 15:44:15 +0000 (11:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 09:56:38 +0000 (10:56 +0100)
commitcbc060eb204cf40798bed84ba8228bcbd4a9d0ff
tree0ad2891245f0ba2db33c50510e10ecb2b1366722
parent3bd46be1e8d6f5fd7cbe9763fedf7ad07d66d4cb
staging: unisys: visorbus: move DEVICE_ATTR_RO defs as-per conventions

The kernel convention is for DEVICE_ATTR_RO(<attr>) definitions to occur
immediately after the functions that implement the attribute behaviors.
DEVICE_ATTR_RO definitions in visorbus_main.c have been moved to comply
with this convention.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c