summaryrefslogtreecommitdiff
path: root/include/ioexpander.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-02-16 10:45:57 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-24 19:09:44 +0000
commit3c012e5950599f0a81dadc351ecf23ee5f84e404 (patch)
tree93f18ef7c47616b522395a80339a9ee3e90f343c /include/ioexpander.h
parentec935993f233a8b1329757fc5716a5de1b200d00 (diff)
downloadchrome-ec-3c012e5950599f0a81dadc351ecf23ee5f84e404.tar.gz
COIL: Rename ioexpander i2c address variable
Rename ioexpander i2c address to match current conventions and update any calling locations. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Iddad457f73d0dd0167496b794c00e274f8985615 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2697855 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/ioexpander.h')
-rw-r--r--include/ioexpander.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ioexpander.h b/include/ioexpander.h
index e952e373a7..4cd1930385 100644
--- a/include/ioexpander.h
+++ b/include/ioexpander.h
@@ -60,8 +60,8 @@ struct ioexpander_drv {
struct ioexpander_config_t {
/* Physical I2C port connects to the IO expander chip. */
int i2c_host_port;
- /* I2C slave address */
- int i2c_slave_addr;
+ /* I2C address */
+ int i2c_addr_flags;
/*
* Pointer to the specific IO expander chip's ops defined in
* the struct ioexpander_drv.