diff options
Diffstat (limited to 'driver/retimer/pi3hdx1204.c')
-rw-r--r-- | driver/retimer/pi3hdx1204.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/driver/retimer/pi3hdx1204.c b/driver/retimer/pi3hdx1204.c index 0431610059..7cf963c7f9 100644 --- a/driver/retimer/pi3hdx1204.c +++ b/driver/retimer/pi3hdx1204.c @@ -1,4 +1,4 @@ -/* Copyright 2020 The Chromium OS Authors. All rights reserved. +/* Copyright 2020 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * @@ -9,8 +9,7 @@ #include "i2c.h" #include "pi3hdx1204.h" -int pi3hdx1204_enable(const int i2c_port, - const uint16_t i2c_addr_flags, +int pi3hdx1204_enable(const int i2c_port, const uint16_t i2c_addr_flags, const int enable) { const uint8_t buf[PI3HDX1204_DE_OFFSET + 1] = { @@ -27,8 +26,7 @@ int pi3hdx1204_enable(const int i2c_port, }; int rv; - rv = i2c_xfer(i2c_port, i2c_addr_flags, - buf, PI3HDX1204_DE_OFFSET + 1, + rv = i2c_xfer(i2c_port, i2c_addr_flags, buf, PI3HDX1204_DE_OFFSET + 1, NULL, 0); if (rv) |