commit | 761de5f9da8306c80c75883e0cbaa78f0244c1a0 | [log] [tgz] |
---|---|---|
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | Thu May 19 16:45:27 2016 +0530 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu May 19 11:00:07 2016 -0400 |
tree | b6c8909015ca2ca4ea44db6760a5c3ed25404ce4 | |
parent | 3b59c344ab6e2d00b0f4ad946024572618c87502 [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>