diff options
| author | Michal Wilczynski <[email protected]> | 2023-10-18 19:09:44 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-10-24 18:54:29 +0000 |
| commit | d7228c7169e7f84013a909055c52585a8d4e1ab0 (patch) | |
| tree | c537e35ac481cf6878658327d1f08adaed8d9f1c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | ACPI: acpi_pad: Replace acpi_driver with platform_driver (diff) | |
| download | kernel-d7228c7169e7f84013a909055c52585a8d4e1ab0.tar.gz kernel-d7228c7169e7f84013a909055c52585a8d4e1ab0.zip | |
ACPI: acpi_pad: Use dev groups for sysfs
Change the way sysfs files are created. Use dev_groups, as it's a
better approach - it allows to declare attributes, and the core code
would take care of the lifecycle of those objects.
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Michal Wilczynski <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
