diff options
| author | Dwaipayan Ray <[email protected]> | 2020-12-17 12:45:36 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-01-22 15:17:19 +0000 |
| commit | 0f39ee8324e75c9d370e84a61323ceb194641a18 (patch) | |
| tree | 2b59738a9162330a90e3cacefd3ef6583931d6e0 /drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | |
| parent | Linux 5.11-rc4 (diff) | |
| download | kernel-0f39ee8324e75c9d370e84a61323ceb194641a18.tar.gz kernel-0f39ee8324e75c9d370e84a61323ceb194641a18.zip | |
ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
Instead of open coding DEVICE_ATTR(), use the
DEVICE_ATTR_RW(), DEVICE_ATTR_RO() and DEVICE_ATTR_WO()
macros wherever possible.
This required a few functions to be renamed but the
functionality itself is unchanged.
Signed-off-by: Dwaipayan Ray <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c')
0 files changed, 0 insertions, 0 deletions
