drm/radeon: move bl encoder assignment into bl init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Oct 2015 18:26:32 +0000 (14:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Oct 2015 15:13:18 +0000 (11:13 -0400)
commit4cee6a9057d5e13911f0cb6e143d11dc1a3245dd
treecf0963aea967bc088d24746f5968a2e307dce70a
parent22ca7ca52e80524360b43944a0556b2a6dc1aa21
drm/radeon: move bl encoder assignment into bl init

So that the bl encoder will be null if the GPU does not
control the backlight.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_encoders.c
drivers/gpu/drm/radeon/radeon_encoders.c
drivers/gpu/drm/radeon/radeon_legacy_encoders.c