amdgpu/dc: make some audio functions return void
authorDave Airlie <airlied@redhat.com>
Fri, 29 Sep 2017 04:34:36 +0000 (14:34 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Sep 2017 17:02:14 +0000 (13:02 -0400)
commit4179cd81376112d627216580b09b803eb25e1635
tree510f0604e961bdfc99fe4c8a1002440c9a5384bb
parent4dec2aa9eb1386e592d76f380360360178c4af02
amdgpu/dc: make some audio functions return void

There is no need to check for these pointers being valid
at this level. Check earlier if required.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c