OSDN Git Service

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)
commit97d798b276e94a366dfb03d62bc90d4742ab3a31
tree7fe0d41461f49ad53979cad9204e975ed03d34f4
parentba806f98f868ce107aa9c453fef751de9980e4af
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