diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-09 04:03:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-10 00:20:31 +0300 |
commit | 3e146b55a4f5213b5da0f243813efb380fa7f84d (patch) | |
tree | ebab198955f76dc66581712f2ef32bfc88823451 /sound/soc/codecs/max9860.c | |
parent | 336c129139cd50faf5bd68acc343da817d13839b (diff) | |
download | linux-3e146b55a4f5213b5da0f243813efb380fa7f84d.tar.xz |
ASoC: codecs: 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 <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200709010359.GA18971@embeddedor
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max9860.c')
-rw-r--r-- | sound/soc/codecs/max9860.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max9860.c b/sound/soc/codecs/max9860.c index 8be636fe6552..d5925c42b4b5 100644 --- a/sound/soc/codecs/max9860.c +++ b/sound/soc/codecs/max9860.c @@ -334,7 +334,7 @@ static int max9860_hw_params(struct snd_pcm_substream *substream, return -EINVAL; } ifc1a ^= MAX9860_WCI; - /* fall through */ + fallthrough; case SND_SOC_DAIFMT_IB_NF: ifc1a ^= MAX9860_DBCI; ifc1b ^= MAX9860_ABCI; |