]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: simplify ATIF backlight handling
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 19:44:57 +0000 (15:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:49 +0000 (14:00 -0400)
commitb8a1db4c8ea207a28fdc2293af7e7269f2e7204c
tree7fe0d41461f49ad53979cad9204e975ed03d34f4
parent85731f8eabfe92e3a16fc96e589bc3f2e310e2e4
drm/amdgpu: simplify ATIF backlight handling

Just register the a pointer to the backlight device and use
that. Unifies the DC and non-DC handling.

Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c