aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorShixiong Ou <oushixiong@kylinos.cn>2025-01-03 11:26:33 +0800
committerHelge Deller <deller@gmx.de>2025-01-09 00:29:42 +0100
commit021e111ed08d135963fe3e13d8264b82b2a147dc (patch)
treeb9a8f8e8d584b19f96017b6805e92479938ae49f
parentfbdev: omapfb: Remove unused hdmi5_core_handle_irqs (diff)
downloadwireguard-linux-021e111ed08d135963fe3e13d8264b82b2a147dc.tar.xz
wireguard-linux-021e111ed08d135963fe3e13d8264b82b2a147dc.zip
fbdev: efifb: Change the return value type to void
efifb_setup() doesn't need to return a value. Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn> Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--drivers/video/fbdev/efifb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
index 20517448487e..0e1bd3dba255 100644
--- a/drivers/video/fbdev/efifb.c
+++ b/drivers/video/fbdev/efifb.c
@@ -275,7 +275,7 @@ static const struct fb_ops efifb_ops = {
.fb_setcolreg = efifb_setcolreg,
};
-static int efifb_setup(struct screen_info *si, char *options)
+static void efifb_setup(struct screen_info *si, char *options)
{
char *this_opt;
@@ -299,8 +299,6 @@ static int efifb_setup(struct screen_info *si, char *options)
use_bgrt = false;
}
}
-
- return 0;
}
static inline bool fb_base_is_valid(struct screen_info *si)