power: qpnp-qg: Fix a DT property name
Fix DT property name for "qcom,shutdown_soc_threshold". Change-Id: Idb8772aecdcc30b781b7ee0349977995641c15c4 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
f2ec2afc07
commit
9537a1d5c6
@@ -4376,7 +4376,7 @@ static int qg_parse_dt(struct qpnp_qg *chip)
|
||||
else
|
||||
chip->dt.esr_low_temp_threshold = (int)temp;
|
||||
|
||||
rc = of_property_read_u32(node, "qcom,shutdown_soc_threshold", &temp);
|
||||
rc = of_property_read_u32(node, "qcom,shutdown-soc-threshold", &temp);
|
||||
if (rc < 0)
|
||||
chip->dt.shutdown_soc_threshold = -EINVAL;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user