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

From: Maciej S. Szmigiero
Date: Thu Feb 09 2017 - 20:46:24 EST


On 09.02.2017 16:45, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
>
> Use kmemdup rather than duplicating its implementation.
>
> Generated by: scripts/coccinelle/api/memdup.cocci
>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> ---
> drivers/w1/masters/ds2490.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Acked-by: Maciej S. Szmigiero <mail@xxxxxxxxxxxxxxxxxxxxx>