]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: create write-only attribute macros for devices and drivers
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 22:02:56 +0000 (15:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 22:02:56 +0000 (15:02 -0700)
commit3ba3996e97734113b3644e6648b5fc87f1f0962b
tree97cec72dc80737c0306d84df9c62d80f0d419d35
parent7c2d9026457cb1351dbb38a4b620f7a2d0b814a2
driver core: create write-only attribute macros for devices and drivers

This creates the macros DRIVER_ATTR_WO() and DEVICE_ATTR_WO() for
write-only attributes for drivers and devices.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device.h