Re: [PATCH v3] ehea: Introduce the use of the managed version of kzalloc

2014-05-30 Thread David Miller
From: Himangi Saraogi 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

Re: [PATCH v3] ehea: Introduce the use of the managed version of kzalloc

2014-05-30 Thread David Miller
From: Himangi Saraogi himangi...@gmail.com 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_*()

[PATCH v3] ehea: Introduce the use of the managed version of kzalloc

2014-05-28 Thread Himangi Saraogi
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 v3] ehea: Introduce the use of the managed version of kzalloc

2014-05-28 Thread Himangi Saraogi
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