summaryrefslogtreecommitdiff
path: root/driver/retimer/tdp142.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/retimer/tdp142.c')
-rw-r--r--driver/retimer/tdp142.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/driver/retimer/tdp142.c b/driver/retimer/tdp142.c
index e1632150d0..fb5149da63 100644
--- a/driver/retimer/tdp142.c
+++ b/driver/retimer/tdp142.c
@@ -1,4 +1,4 @@
-/* Copyright 2021 The Chromium OS Authors. All rights reserved.
+/* Copyright 2021 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -12,18 +12,12 @@
static enum ec_error_list tdp142_write(int offset, int data)
{
- return i2c_write8(TDP142_I2C_PORT,
- TDP142_I2C_ADDR,
- offset, data);
-
+ return i2c_write8(TDP142_I2C_PORT, TDP142_I2C_ADDR, offset, data);
}
static enum ec_error_list tdp142_read(int offset, int *regval)
{
- return i2c_read8(TDP142_I2C_PORT,
- TDP142_I2C_ADDR,
- offset, regval);
-
+ return i2c_read8(TDP142_I2C_PORT, TDP142_I2C_ADDR, offset, regval);
}
enum ec_error_list tdp142_set_ctlsel(enum tdp142_ctlsel selection)