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:
Anirudh Ghayal
2021-07-05 12:40:27 +05:30
committed by Gerrit - the friendly Code Review server
parent f2ec2afc07
commit 9537a1d5c6

View File

@@ -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