power: supply: qti_battery_charger: Fix NULL pointer dereference
With psy initialized in battery_chg_init_psy(), read_property_id()
when called from battery_chg_parse_dt() can try accessing
psy->desc->name when dynamic debugging is enabled. Fix it.
Change-Id: I88114ea9779d5113524b8b15659bf8bafe6364ed
Signed-off-by:
Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
Loading
Please register or sign in to comment