diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-23 11:24:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-24 08:49:52 +0100 |
commit | ca35910a1ba21e45368640ac4d884536649966d9 (patch) | |
tree | 1040bfbe2783b8306c95d9eb99346a325d6d3f0d /drivers/usb/serial/cyberjack.c | |
parent | 7f26ee4b56496f1bec4672cfe4e1c4808fb7e81f (diff) |
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 <joe@perches.com>
Cc: Peter Chen <Peter.Chen@nxp.com>
Cc: Valentina Manea <valentina.manea.m@gmail.com>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Acked-by: Johan Hovold <johan@kernel.org>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/cyberjack.c')
0 files changed, 0 insertions, 0 deletions