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

2014-05-07 Thread Markos Chandras
Hi, On 05/07/2014 05:43 AM, Himangi Saraogi wrote: > This patch moves data allocated using kzalloc to managed data allocated > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > functions.The labels out and out_mem are also removed as they are no > longer required. > >

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

2014-05-07 Thread Markos Chandras
Hi, On 05/07/2014 05:43 AM, Himangi Saraogi wrote: This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions.The labels out and out_mem are also removed as they are no longer required. The

[PATCH] MIPS: Introduce the use of the managed version of kzalloc

2014-05-06 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.The labels out and out_mem are also removed as they are no longer required. The following Coccinelle semantic patch was used for making the

[PATCH] MIPS: Introduce the use of the managed version of kzalloc

2014-05-06 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.The labels out and out_mem are also removed as they are no longer required. The following Coccinelle semantic patch was used for making the