Replace the global instance of screen_info with the per-device instance that is set by the sysfb code. The use of the global screen_info should be limited and ideally be pushed into per-architecture code. v3: * better const correctness in efifb (Sui) * fix build for deferred takeover (kernel test robot) v2: * comment on devm_kmemdup() usage (Javier) Thomas Zimmermann (4): fbdev/efifb: Replace references to global screen_info by local pointer fbdev/efifb: Use screen_info pointer from device fbdev/vesafb: Replace references to global screen_info by local pointer fbdev/vesafb: Use screen_info pointer from device drivers/video/fbdev/efifb.c | 136 +++++++++++++++++++---------------- drivers/video/fbdev/vesafb.c | 78 ++++++++++++-------- 2 files changed, 123 insertions(+), 91 deletions(-) -- 2.43.0