Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Shixiong Ou and committed by
Helge Deller
021e111e bec73681

+1 -3
+1 -3
drivers/video/fbdev/efifb.c
··· 275 275 .fb_setcolreg = efifb_setcolreg, 276 276 }; 277 277 278 - static int efifb_setup(struct screen_info *si, char *options) 278 + static void efifb_setup(struct screen_info *si, char *options) 279 279 { 280 280 char *this_opt; 281 281 ··· 299 299 use_bgrt = false; 300 300 } 301 301 } 302 - 303 - return 0; 304 302 } 305 303 306 304 static inline bool fb_base_is_valid(struct screen_info *si)