OSDN Git Service

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)
commit77f3a5cd7023d946a7bbcbb4c88aa5d601d5eb9b
tree024874b116dcbc7977eb986ad9b2ba794f72141a
parent85625e64295079525e5f841b576f9ab71d2c6237
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