summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lm80.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-08-27 18:25:13 +0300
committerHelge Deller <deller@gmx.de>2024-08-30 19:42:38 +0300
commit95cdd538e0e5677efbdf8aade04ec098ab98f457 (patch)
treeb5f40767e9b81f75e66d33b3f6dd116fc871abec /drivers/hwmon/lm80.c
parent929c81ade6355b87097a2a4886c10750e68626cf (diff)
downloadlinux-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/hwmon/lm80.c')
0 files changed, 0 insertions, 0 deletions