Re: [PATCH v3] ehea: Introduce the use of the managed version of kzalloc
From: David Miller <davem@davemloft.net>
Date: 2014-05-30 22:40:59
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2014-05-30 22:40:59
Also in:
lkml
From: Himangi Saraogi <redacted> Date: Wed, 28 May 2014 19:53:09 +0530
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously available. The following Coccinelle semantic patch was used for making the change:
...
Signed-off-by: Himangi Saraogi <redacted> Compile-Tested-by: Thadeu Lima de Souza Cascardo [off-list ref] --- v3: add space in linux/device.h include
Applied to net-next, thanks.