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)
commit2027cbcf497579cb3bd71ed4173ae9b950aa09a3
tree6eb5a2986301b21918ef9a3773503b6d2b1b9edc
parentdfea747d2aba77443acf7ce6fa37caa729bd034c
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