]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: add CLASS_ATTR_WO()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Nov 2016 17:31:49 +0000 (18:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Nov 2016 15:08:13 +0000 (16:08 +0100)
commitd7fa0a9aaa57fdebbc5a0992f5f6e63d9f64108d
tree6eb5a2986301b21918ef9a3773503b6d2b1b9edc
parent099e99e7044f55180f3b0fa1386d1d3ac09d2f80
driver core: add CLASS_ATTR_WO()

Some class subsystems are open-coding CLASS_ATTR_WO because the driver
core never provided it.  Add the macro to device.h so that we can go
around and fix up the individual subsystems as needed.

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