On Tue, Jan 23, 2018 at 11:24:07AM +0100, Greg Kroah-Hartman wrote:
> 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 <j...@perches.com>
> Cc: Peter Chen <peter.c...@nxp.com>
> Cc: Felipe Balbi <ba...@kernel.org>
> Cc: Johan Hovold <jo...@kernel.org>
> Cc: Valentina Manea <valentina.mane...@gmail.com>
> Cc: Shuah Khan <sh...@kernel.org>
> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
> ---
>  drivers/usb/chipidea/otg_fsm.c | 4 ++--
>  drivers/usb/gadget/udc/core.c  | 8 ++++----
>  drivers/usb/phy/phy-mv-usb.c   | 4 ++--
>  drivers/usb/serial/ftdi_sio.c  | 4 ++--

For usb-serial:

Acked-by: Johan Hovold <jo...@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to