OSDN Git Service

rapidio: rio-sysfs.c: convert to use BUS_ATTR_WO
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 07:54:37 +0000 (08:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 13:25:26 +0000 (14:25 +0100)
commitc9fbe769d0f220f6b766e38c323ff52e680bc9e2
tree30d86edaceb6ed66d1b3300e0950ccae7b93b883
parentc1507ea8349c04681b9b288bc81ed786199ee181
rapidio: rio-sysfs.c: convert to use BUS_ATTR_WO

We are trying to get rid of BUS_ATTR() and the usage of that in
rio-sysfs.c can be trivially converted to use BUS_ATTR_WO(), so use that
instead.

Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Alexandre Bounine <alex.bou9@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rapidio/rio-sysfs.c