]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit2581c9cc0de6eeba8d5553c98aab6e0f75d184e0
treecceb679a2a6685cf48bc84145fd732c4b8736df4
parent1130c55c757660ac83bd2de220f08580c56b6855
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