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>
1 file changed