mirror of
https://github.com/torvalds/linux.git
synced 2026-01-24 23:16:46 +00:00
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>
This commit is contained in:
committed by
Helge Deller
parent
bec73681d4
commit
021e111ed0
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user