]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup sysfs file handling
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 7 May 2020 19:34:41 +0000 (21:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 May 2020 18:32:24 +0000 (14:32 -0400)
commit23aca9497e1d8553341572cf1f9cd32efe0ebff9
tree024874b116dcbc7977eb986ad9b2ba794f72141a
parentb922be2e8a4c259c46e66c86db47d888b12f2baf
drm/amdgpu: cleanup sysfs file handling

Create sysfs file using attributes.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c