of/resolver: Replace kmalloc + memcpy with kmemdup()
Save one line. Signed-off-by: NStephen Boyd <stephen.boyd@linaro.org> Reviewed-by: NFrank Rowand <frowand.list@gmail.com> Signed-off-by: NRob Herring <robh@kernel.org>
Showing
想要评论请 注册 或 登录