commit | 2027cbcf497579cb3bd71ed4173ae9b950aa09a3 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 22 18:31:49 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 24 16:08:13 2016 +0100 |
tree | 6eb5a2986301b21918ef9a3773503b6d2b1b9edc | |
parent | dfea747d2aba77443acf7ce6fa37caa729bd034c [diff] |
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>