commit | 831229d617036871f2a3ff6dd4c7ab49daeaf303 | [log] [tgz] |
---|---|---|
author | Stepan Moskovchenko <stepanm@codeaurora.org> | Fri Jun 21 20:11:11 2013 -0700 |
committer | Stepan Moskovchenko <stepanm@codeaurora.org> | Fri Jun 21 20:14:32 2013 -0700 |
tree | a27732c74340cd2a3482d9bae76a0c348245f31f | |
parent | 9a0b4de70bb75f0026fbe54babed401813fa50bd [diff] |
hwmon: qpnp-vadc: Fix probe error paths Execute the complete probe failure path in the event that QPNP VADC registers could not be read, to prevent a use-after-free scenario with the qpnp_vadc data structure. Change-Id: Ib22faded23d9bc5939f1481bfcd21f7235699b16 Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>