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)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 22 Dec 2014 17:48:47 +0000 (10:48 -0700)
commit54d37488baccb0b31610458ac9833591b76de1e4
tree6eeedbebe5b49908e2e4d0ba7b532bd9e17f2d1a
parentf746093345ca15c6fb8a05e6343575b345e969d6
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>
(cherry picked from commit 25d134e51f990962ecb54e5449c97b82f818ab30)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
include/linux/device.h