summaryrefslogtreecommitdiff
path: root/driver/temp_sensor/oti502.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/temp_sensor/oti502.c')
-rw-r--r--driver/temp_sensor/oti502.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/driver/temp_sensor/oti502.c b/driver/temp_sensor/oti502.c
index b58d1c3e96..2051df89f6 100644
--- a/driver/temp_sensor/oti502.c
+++ b/driver/temp_sensor/oti502.c
@@ -1,4 +1,4 @@
-/* Copyright 2019 The Chromium OS Authors. All rights reserved.
+/* Copyright 2019 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -12,13 +12,13 @@
#include "hooks.h"
#include "util.h"
-static int temp_val_ambient; /* Ambient is chip temperature*/
-static int temp_val_object; /* Object is IR temperature */
+static int temp_val_ambient; /* Ambient is chip temperature*/
+static int temp_val_object; /* Object is IR temperature */
static int oti502_read_block(const int offset, uint8_t *data, int len)
{
- return i2c_read_block(I2C_PORT_THERMAL, OTI502_I2C_ADDR_FLAGS,
- offset, data, len);
+ return i2c_read_block(I2C_PORT_THERMAL, OTI502_I2C_ADDR_FLAGS, offset,
+ data, len);
}
int oti502_get_val(int idx, int *temp_ptr)