of/resolver: Replace kmalloc + memcpy with kmemdup()
Save one line. Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Reviewed-by: Frank Rowand <frowand.list@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
Showing
Please register or sign in to comment