power: qpnp-smbcharger: Fix uninitialized access to dc_psy
Fix uninitialized access when dc_psy is not registered
and charging is enabled by sysfs interface.
CRs-Fixed: 836629
Change-Id: I88f1f2253c357a62589ea750a4394ef289f5573e
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment