]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ads7846 - release resources on failure for clean exit
authorPramod Gurav <pramod.gurav@smartplayin.com>
Thu, 31 Jul 2014 05:48:24 +0000 (22:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 31 Jul 2014 05:52:09 +0000 (22:52 -0700)
commit25978dcc9759577f4c4397aa6ee6cacd08d1859b
tree524cf610fa9fccc34adca9d03e209bab20cdcac1
parent4e0da2423045adbe9969038d47379d220db8749d
Input: ads7846 - release resources on failure for clean exit

Input device must be released(input_free_device) when ads7846_probe_dt
fails. This fixes the same by releasing resources on failure.

Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ads7846.c