diff options
| author | Edward O'Callaghan <[email protected]> | 2016-09-04 02:36:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-09-14 19:10:36 +0000 |
| commit | efdf7a93195a712baff7aa077ae5e4542a9af2f9 (patch) | |
| tree | 203d349bc125f2e837ae9c9c68d1bd1a0fa6621f /drivers/gpu/drm/amd/amdgpu/atombios_i2c.c | |
| parent | drm/amd/powerplay: delete duplicated function and definition. (diff) | |
| download | kernel-efdf7a93195a712baff7aa077ae5e4542a9af2f9.tar.gz kernel-efdf7a93195a712baff7aa077ae5e4542a9af2f9.zip | |
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 <[email protected]>
Signed-off-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_i2c.c')
0 files changed, 0 insertions, 0 deletions
