usb: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 7 Jul 2020 19:56:07 +0000 (14:56 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 06:55:17 +0000 (08:55 +0200)
commit0d9b6d49fe39bd397f1d5913b1bfb8c4fdef0255
tree683bc21e3a642e329292cd1cace5f455f7b7fca6
parent4e71e079432e3e0c8572a405f5cedf957d4d422c
usb: Use fallthrough pseudo-keyword

Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.

[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200707195607.GA4198@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18 files changed:
drivers/usb/atm/cxacru.c
drivers/usb/cdns3/gadget.c
drivers/usb/class/usbtmc.c
drivers/usb/core/config.c
drivers/usb/core/hcd.c
drivers/usb/core/hub.c
drivers/usb/core/urb.c
drivers/usb/host/fotg210-hcd.c
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/max3421-hcd.c
drivers/usb/host/oxu210hp-hcd.c
drivers/usb/image/mdc800.c
drivers/usb/isp1760/isp1760-hcd.c
drivers/usb/misc/appledisplay.c
drivers/usb/misc/usbtest.c
drivers/usb/misc/yurex.c
drivers/usb/renesas_usbhs/mod_gadget.c
drivers/usb/renesas_usbhs/pipe.c