diff options
| author | Thomas Weißschuh <[email protected]> | 2025-01-25 10:12:15 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-21 08:20:30 +0000 |
| commit | 80d3989b9ce3b05f7a12cc5c4c8c565fc4ed88f2 (patch) | |
| tree | 2ef403aefd26b7cd408ac949f4e78e576160a8fb /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | firmware: dmi: Mark bin_attributes as __ro_after_init (diff) | |
| download | kernel-80d3989b9ce3b05f7a12cc5c4c8c565fc4ed88f2.tar.gz kernel-80d3989b9ce3b05f7a12cc5c4c8c565fc4ed88f2.zip | |
firmware: dmi: Define bin_attributes through macro
The macro makes the code shorter and simplifies constification of the
callback arguments.
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://lore.kernel.org/r/20250125-sysfs-const-bin_attr-dmi-v2-2-ece1895936f4@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
