aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-07-09 22:37:26 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-08-02 16:44:22 +0200
commitf6bae04a40f4441c62f4f8cd3bbe0ecf8b54033e (patch)
tree2c174d1c7cb2d6c08df2b713fdc7a55c1cdeece4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h
parent52831d9bbc9aa029aed525dfbe61cb78c1db991c (diff)
ACPI: sysfs: manage attributes as attribute_group
The current manual attribute management is inconsistent and brittle. Not all return values of device_create_file() are checked and the cleanup logic needs to be kept up to date manually. Moving all attributes into an attribute_group and using the is_visible() callback allows the management of all attributes as a single unit. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20240709-acpi-sysfs-groups-v2-3-058ab0667fa8@weissschuh.net Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h')
0 files changed, 0 insertions, 0 deletions