mirror of
https://github.com/torvalds/linux
synced 2024-10-08 04:12:40 +00:00
usb: phy: Use fallthrough pseudo-keyword
Replace /* FALLTHROUGH */ comment with pseudo-keyword macro fallthrough[1] [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Acked-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com> Link: https://lore.kernel.org/r/20210505141936.4343-1-jj251510319013@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
374ac7448c
commit
c34030129a
|
@ -555,7 +555,7 @@ static void otg_update_isp(struct isp1301 *isp)
|
||||||
case OTG_STATE_A_PERIPHERAL:
|
case OTG_STATE_A_PERIPHERAL:
|
||||||
if (otg_ctrl & OTG_PULLUP)
|
if (otg_ctrl & OTG_PULLUP)
|
||||||
goto pullup;
|
goto pullup;
|
||||||
/* FALLTHROUGH */
|
fallthrough;
|
||||||
// case OTG_STATE_B_WAIT_ACON:
|
// case OTG_STATE_B_WAIT_ACON:
|
||||||
default:
|
default:
|
||||||
pulldown:
|
pulldown:
|
||||||
|
|
Loading…
Reference in a new issue