]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: bus: use DRIVER_ATTR_WO()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 22:04:42 +0000 (15:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 22:04:42 +0000 (15:04 -0700)
commit3e92eb987414520a09d9e67366fc50ceb82a0c7d
treecceb679a2a6685cf48bc84145fd732c4b8736df4
parent3ba3996e97734113b3644e6648b5fc87f1f0962b
driver core: bus: use DRIVER_ATTR_WO()

There are two bus attributes that can better be defined using
DRIVER_ATTR_WO(), so convert them to the new macro, making it easier to
audit attribute permissions.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c