Re: [PATCH] input: ads7846: Release resources on failure for clean exit

2014-07-30 Thread Dmitry Torokhov
On Wed, Jul 30, 2014 at 11:24:37AM +0530, Pramod Gurav wrote: > From: Pramod Gurav > > Input device must be released(input_free_device) when ads7846_probe_dt > fails. This fixes the same by releasing resources on failure. > > CC: Dmitry Torokhov > CC: Lejun Zhu > CC: Sachin Kamat > > Signed-

[PATCH] input: ads7846: Release resources on failure for clean exit

2014-07-29 Thread Pramod Gurav
From: Pramod Gurav Input device must be released(input_free_device) when ads7846_probe_dt fails. This fixes the same by releasing resources on failure. CC: Dmitry Torokhov CC: Lejun Zhu CC: Sachin Kamat Signed-off-by: Pramod Gurav --- drivers/input/touchscreen/ads7846.c |6 -- 1 fi