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

2014-05-10 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. This data is the third argument to da9052_request_irq in the two cases below. Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Acked-by

RE: [PATCH] Input: Introduce the use of managed version of kzalloc

2014-05-09 Thread Opensource [Anthony Olech]
> -Original Message- > From: Himangi Saraogi [mailto:himangi...@gmail.com] > Sent: 08 May 2014 05:00 > To: Support Opensource; dmitry.torok...@gmail.com; linux- > in...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: julia.law...@lip6.fr > Subject: [PATCH] Input:

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

2014-05-07 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. This data is the third argument to da9052_request_irq in the two cases below. The following Coccinelle semantic patch was used for making the