diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-07 23:05:39 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-08-03 21:38:37 +0200 |
commit | ad04fae0de07580359b7ab3e19a678a775fdf07f (patch) | |
tree | 10cc2e12807445fb9036a549f163ee1c6faefbbe /drivers/video/fbdev/cirrusfb.c | |
parent | omapfb/dss: Include the right header (diff) | |
download | linux-ad04fae0de07580359b7ab3e19a678a775fdf07f.tar.xz linux-ad04fae0de07580359b7ab3e19a678a775fdf07f.zip |
fbdev: 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>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200707210539.GA12530@embeddedor
Diffstat (limited to 'drivers/video/fbdev/cirrusfb.c')
-rw-r--r-- | drivers/video/fbdev/cirrusfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/cirrusfb.c b/drivers/video/fbdev/cirrusfb.c index 3df64a973194..15a9ee7cd734 100644 --- a/drivers/video/fbdev/cirrusfb.c +++ b/drivers/video/fbdev/cirrusfb.c @@ -1476,11 +1476,11 @@ static void init_vgachip(struct fb_info *info) mdelay(100); /* mode */ vga_wgfx(cinfo->regbase, CL_GR31, 0x00); - /* fall through */ + fallthrough; case BT_GD5480: /* from Klaus' NetBSD driver: */ vga_wgfx(cinfo->regbase, CL_GR2F, 0x00); - /* fall through */ + fallthrough; case BT_ALPINE: /* put blitter into 542x compat */ vga_wgfx(cinfo->regbase, CL_GR33, 0x00); |