Loading
hwmon: qpnp-adc: Correct the return value when failed init thermal
The return value of qpnp_vadc_init_thermal was never updated
even if it is failed thermal zone sensor register. Correct
this by update the rc value when there is err.
Change-Id: I8ccf858c06f6ac8659f1bac5fa1dff7f357d4f3a
Signed-off-by:
Maria Yu <aiquny@codeaurora.org>