fbcon: Use fbcon_info_from_console() in fbcon_modechange_possible()
authorHelge Deller <deller@gmx.de>
Sat, 25 Jun 2022 11:00:34 +0000 (13:00 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 7 Jul 2022 08:52:35 +0000 (10:52 +0200)
commit53a6e66b1b4fea4b52f8bc62e5f9530af9061027
tree59900af6c4de3ca30b4a0bcee0770c733b88e81d
parent6c11df58fd1ac0aefcb3b227f72769272b939e56
fbcon: Use fbcon_info_from_console() in fbcon_modechange_possible()

Use the fbcon_info_from_console() wrapper which was added to kernel
v5.19 with commit 409d6c95f9c6 ("fbcon: Introduce wrapper for console->fb_info lookup").

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/video/fbdev/core/fbcon.c