summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-15 17:01:11 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-15 17:01:11 -0800
commitea872c35b6fba50a8a9fa50bfe3cfa8b81c2b860 (patch)
tree0fcd4c4c3ffe186cb0e46aa20d0a37241d652d63 /drivers/power
parente30c4c2e202802035f0cc1290b5f4b743c9bc5ce (diff)
parenta486d41bf884ea3e08e44e6ac54889cd8b8f36e1 (diff)
Merge "smb138x-charger: Fix max conn temp config"
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/qcom/smb138x-charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/qcom/smb138x-charger.c b/drivers/power/supply/qcom/smb138x-charger.c
index ba8a4c265f87..4180edc89a4c 100644
--- a/drivers/power/supply/qcom/smb138x-charger.c
+++ b/drivers/power/supply/qcom/smb138x-charger.c
@@ -155,7 +155,7 @@ static int smb138x_parse_dt(struct smb138x *chip)
rc = of_property_read_u32(node,
"qcom,connector-temp-max-mdegc",
- &chip->dt.chg_temp_max_mdegc);
+ &chip->dt.connector_temp_max_mdegc);
if (rc < 0)
chip->dt.connector_temp_max_mdegc = 105000;