w1: ds2490: use kmemdup rather than duplicating its implementation
Use kmemdup rather than duplicating its implementation. Generated by: scripts/coccinelle/api/memdup.cocci Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Acked-by: NMaciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录