diff options
| author | Greg Kroah-Hartman <[email protected]> | 2018-01-23 10:24:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-01-24 07:49:52 +0000 |
| commit | ca35910a1ba21e45368640ac4d884536649966d9 (patch) | |
| tree | 1040bfbe2783b8306c95d9eb99346a325d6d3f0d /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | USB: move many drivers to use DEVICE_ATTR_RO (diff) | |
| download | kernel-ca35910a1ba21e45368640ac4d884536649966d9.tar.gz kernel-ca35910a1ba21e45368640ac4d884536649966d9.zip | |
USB: move many drivers to use DEVICE_ATTR_WO
Instead of "open coding" a DEVICE_ATTR() define, use the
DEVICE_ATTR_WO() macro instead, which does everything properly instead.
This does require a few static functions to be renamed to work properly,
but thanks to a script from Joe Perches, this was easily done.
Reported-by: Joe Perches <[email protected]>
Cc: Peter Chen <[email protected]>
Cc: Valentina Manea <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Acked-by: Johan Hovold <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
