commit | a1cd3fd09a9b7de710d705127aa616946b567d72 | [log] [tgz] |
---|---|---|
author | Pramod Gurav <pramod.gurav@smartplayin.com> | Wed Jul 30 22:48:24 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Jul 30 22:52:09 2014 -0700 |
tree | 524cf610fa9fccc34adca9d03e209bab20cdcac1 | |
parent | 9d469d033d135d80742a4e39e6bbb4519dd5eee1 [diff] |
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>