diff options
author | Edward O'Callaghan <funfunctor@folklore1984.net> | 2016-09-04 05:36:19 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-14 22:10:36 +0300 |
commit | efdf7a93195a712baff7aa077ae5e4542a9af2f9 (patch) | |
tree | 203d349bc125f2e837ae9c9c68d1bd1a0fa6621f /drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | |
parent | 41698abb4d418b83b4d9fdae1172e00b91e46b54 (diff) | |
download | linux-efdf7a93195a712baff7aa077ae5e4542a9af2f9.tar.xz |
amd/powerplay: use kmemdup instead of kmalloc + memcpy
Save a few clocks by replacing calls to kmalloc followed by memcpy
with a single call to kmemdup.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c')
0 files changed, 0 insertions, 0 deletions