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
> -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:
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
3 matches
Mail list logo