diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-08-27 18:25:13 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-08-30 19:42:38 +0300 |
commit | 95cdd538e0e5677efbdf8aade04ec098ab98f457 (patch) | |
tree | b5f40767e9b81f75e66d33b3f6dd116fc871abec /drivers/video/fbdev/au1200fb.h | |
parent | 929c81ade6355b87097a2a4886c10750e68626cf (diff) | |
download | linux-95cdd538e0e5677efbdf8aade04ec098ab98f457.tar.xz |
fbdev: efifb: Register sysfs groups through driver core
The driver core can register and cleanup sysfs groups already.
Make use of that functionality to simplify the error handling and
cleanup.
Also avoid a UAF race during unregistering where the sysctl attributes
were usable after the info struct was freed.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/au1200fb.h')
0 files changed, 0 insertions, 0 deletions