fbdev: efifb: Use driver-private screen_info for sysfs
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 27 Aug 2024 15:25:16 +0000 (17:25 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 30 Aug 2024 16:42:38 +0000 (18:42 +0200)
commitbd97615a331684590f6fe65420e9a959a57c975b
tree1949ee7b41e27ab1c4c9e4a4087b6e6639c06764
parent077091721af00d2a9212218c2d61acbac5f47630
fbdev: efifb: Use driver-private screen_info for sysfs

Since commit b9cfd1d271ab ("fbdev/efifb: Use screen_info pointer from device")
efifb uses a local copy of screen_info and applies its modifications
there. Adapt the sysfs attributes to also work with the custom copy
instead of the unmodified platform data.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/efifb.c