Re: [PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-28 Thread pramod gurav
On Mon, Jul 28, 2014 at 12:40 PM, Dmitry Torokhov wrote: > On July 27, 2014 11:50:41 PM PDT, pramod gurav > wrote: >>Hi Dmitry, >> > > No need to resend, I picked out the good bits and applied. Thanks. :) -- Thanks and Regards Pramod -- To unsubscribe from this list: send the line "unsubscri

Re: [PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-28 Thread Dmitry Torokhov
On July 27, 2014 11:50:41 PM PDT, pramod gurav wrote: >Hi Dmitry, > >Thanks for the review. > >On Fri, Jul 25, 2014 at 9:52 PM, Dmitry Torokhov > wrote: >> Hi Pramod, >> >> On Fri, Jul 25, 2014 at 05:04:34PM +0530, pramod.gurav@gmail.com >wrote: >>> From: Pramod Gurav >>> >>> This patch does

Re: [PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-27 Thread pramod gurav
Hi Dmitry, Thanks for the review. On Fri, Jul 25, 2014 at 9:52 PM, Dmitry Torokhov wrote: > Hi Pramod, > > On Fri, Jul 25, 2014 at 05:04:34PM +0530, pramod.gurav@gmail.com wrote: >> From: Pramod Gurav >> >> This patch does below: >> - Removes kfree done on data allocated with devm_zalloc in

Re: [PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-25 Thread Dmitry Torokhov
Hi Pramod, On Fri, Jul 25, 2014 at 05:04:34PM +0530, pramod.gurav@gmail.com wrote: > From: Pramod Gurav > > This patch does below: > - Removes kfree done on data allocated with devm_zalloc in probe > path of the driver. > - Adds a check on return value from devm_kzalloc which was missing >

[PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-25 Thread pramod . gurav . etc
From: Pramod Gurav This patch does below: - Removes kfree done on data allocated with devm_zalloc in probe path of the driver. - Adds a check on return value from devm_kzalloc which was missing CC: Dmitry Torokhov CC: Lejun Zhu CC: Sachin Kamat Signed-off-by: Pramod Gurav --- drivers/inp

Re: [PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-25 Thread pramod gurav
On Fri, Jul 25, 2014 at 3:59 PM, Sachin Kamat wrote: > Hi Pramod, > > > On Fri, Jul 25, 2014 at 2:42 PM, wrote: >> From: Pramod Gurav >> >> This patch does below: >> - Removes kfree done on data allocated with devm_zalloc in probe >> path of the driver. >> - Adds a check on return value from

Re: [PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-25 Thread Sachin Kamat
Hi Pramod, On Fri, Jul 25, 2014 at 2:42 PM, wrote: > From: Pramod Gurav > > This patch does below: > - Removes kfree done on data allocated with devm_zalloc in probe > path of the driver. > - Adds a check on return value from devm_kzalloc which was missing > - Removes the error lables and in

[PATCH v2] Input: soc_button_array: Remove kfree on data allocated with devm_zalloc

2014-07-25 Thread pramod . gurav . etc
From: Pramod Gurav This patch does below: - Removes kfree done on data allocated with devm_zalloc in probe path of the driver. - Adds a check on return value from devm_kzalloc which was missing - Removes the error lables and instead releases resources and returns after failures CC: Dmitry To