drm/amd/display: Tidy up dce120_clock_source_create()
authorTom St Denis <tom.stdenis@amd.com>
Tue, 16 May 2017 14:22:04 +0000 (10:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:23 +0000 (18:07 -0400)
commit76fd8eb8e2282c695c43683802772caa187bf41b
treef41ab00abafa9aa2c3e08759f6378eff8e06daca
parentcedaf3073a33a95e276371783b20a14e208e184c
drm/amd/display: Tidy up dce120_clock_source_create()

Also change sizeof to be automatic based on type declaration.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c