diff options
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | 2016-05-19 16:45:29 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-19 11:00:33 -0400 |
commit | 510e65dfb0e1817ef48c43839b8789131800a6f6 (patch) | |
tree | 59a96ae0100735d48c7e3b3389aeff5d56ff4216 /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | |
parent | 761de5f9da8306c80c75883e0cbaa78f0244c1a0 (diff) |
drm/amd/powerplay/hwmgr: use kmemdup
Use kmemdup when some other buffer is immediately copied into allocated
region. It replaces call to allocation followed by memcpy, by a single
call to kmemdup.
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c')
0 files changed, 0 insertions, 0 deletions