summaryrefslogtreecommitdiff
path: root/driver/temp_sensor/sb_tsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/temp_sensor/sb_tsi.c')
-rw-r--r--driver/temp_sensor/sb_tsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/temp_sensor/sb_tsi.c b/driver/temp_sensor/sb_tsi.c
index 3de816e1dc..a806ff395f 100644
--- a/driver/temp_sensor/sb_tsi.c
+++ b/driver/temp_sensor/sb_tsi.c
@@ -19,7 +19,7 @@
static int raw_read8(const int offset, int *data_ptr)
{
- return i2c_read8__7bf(I2C_PORT_THERMAL, SB_TSI_I2C_ADDR__7bf,
+ return i2c_read8(I2C_PORT_THERMAL, SB_TSI_I2C_ADDR_FLAGS,
offset, data_ptr);
}