Skip to content

Commit c442955

Browse files
GustavoARSilvalinusw
authored andcommitted
pinctrl: single: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. [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 <[email protected]> Link: https://lore.kernel.org/r/20200716212317.GA17754@embeddedor Signed-off-by: Linus Walleij <[email protected]>
1 parent 1586f55 commit c442955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/pinctrl-single.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ static int pcs_pinconf_set(struct pinctrl_dev *pctldev,
563563
case PIN_CONFIG_BIAS_PULL_UP:
564564
if (arg)
565565
pcs_pinconf_clear_bias(pctldev, pin);
566-
/* fall through */
566+
fallthrough;
567567
case PIN_CONFIG_INPUT_SCHMITT_ENABLE:
568568
data &= ~func->conf[i].mask;
569569
if (arg)

0 commit comments

Comments
 (0)