diff options
author | Edward O'Callaghan <funfunctor@folklore1984.net> | 2016-09-04 12:36:19 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-14 15:10:36 -0400 |
commit | efdf7a93195a712baff7aa077ae5e4542a9af2f9 (patch) | |
tree | 203d349bc125f2e837ae9c9c68d1bd1a0fa6621f /drivers/mfd/88pm860x-i2c.c | |
parent | 41698abb4d418b83b4d9fdae1172e00b91e46b54 (diff) |
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/mfd/88pm860x-i2c.c')
0 files changed, 0 insertions, 0 deletions