Re: [PATCH -next] w1: ds2490: use kmemdup rather than duplicating its implementation

2017-02-09 Thread Maciej S. Szmigiero
On 09.02.2017 16:45, Wei Yongjun wrote: > From: Wei Yongjun > > Use kmemdup rather than duplicating its implementation. > > Generated by: scripts/coccinelle/api/memdup.cocci > > Signed-off-by: Wei Yongjun > --- > drivers/w1/masters/ds2490.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletio

[PATCH -next] w1: ds2490: use kmemdup rather than duplicating its implementation

2017-02-09 Thread Wei Yongjun
From: Wei Yongjun Use kmemdup rather than duplicating its implementation. Generated by: scripts/coccinelle/api/memdup.cocci Signed-off-by: Wei Yongjun --- drivers/w1/masters/ds2490.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/w1/masters/ds2490.c b/drivers/w1