summaryrefslogtreecommitdiff
path: root/board/glados
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2016-10-12 22:12:51 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-10-14 18:49:36 -0700
commit6f5489e18eede378d48e9eb654f233d22a644c7e (patch)
tree1154722082430293df15741f4c082e8e4cf27022 /board/glados
parent26cacee37f9baa6cc674c3aaeac8031b225d1e17 (diff)
downloadchrome-ec-6f5489e18eede378d48e9eb654f233d22a644c7e.tar.gz
cleanup: Rename charge_temp_sensor_get_val() to charge_get_battery_temp()
charge_temp_sensor_get_val() is used to get the battery temperature value hence renamed it to charge_get_battery_temp(). BUG=none BRANCH=none TEST=make buildall -j Change-Id: I2b52cac57dcde12a6b7405e7d712240e278954e2 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/397962 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/glados')
-rw-r--r--board/glados/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/glados/board.c b/board/glados/board.c
index 3689276fe5..96e19fc6d6 100644
--- a/board/glados/board.c
+++ b/board/glados/board.c
@@ -182,7 +182,7 @@ void board_reset_pd_mcu(void)
}
const struct temp_sensor_t temp_sensors[] = {
- {"Battery", TEMP_SENSOR_TYPE_BATTERY, charge_temp_sensor_get_val, 0, 4},
+ {"Battery", TEMP_SENSOR_TYPE_BATTERY, charge_get_battery_temp, 0, 4},
/* These BD99992GW temp sensors are only readable in S0 */
{"Ambient", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val,