From df541c6ffdc3ecf2802bad1c235e730cd29f8bfb Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Thu, 24 Oct 2013 11:18:47 -0700 Subject: cleanup: rename I2C_PORT_HOST to I2C_PORT_MASTER Previously, it was really confusing whether I2C_PORT_HOST meant the port where the EC was the master, or the port used to talk to the AP. No functional changes, just a global find/replace and some tidying of unused comments. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms; pass unit tests Change-Id: Ia591ba4577d3399729556e0234ba0db3a0e3c5ea Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/174546 Reviewed-by: Alec Berg --- chip/stm32/i2c-stm32l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chip/stm32/i2c-stm32l.c') diff --git a/chip/stm32/i2c-stm32l.c b/chip/stm32/i2c-stm32l.c index 8e02f693cd..5b4f05fed5 100644 --- a/chip/stm32/i2c-stm32l.c +++ b/chip/stm32/i2c-stm32l.c @@ -534,7 +534,7 @@ DECLARE_HOOK(HOOK_INIT, i2c_init, HOOK_PRIO_DEFAULT); static int command_i2cdump(int argc, char **argv) { - dump_i2c_reg(I2C_PORT_HOST, "dump"); + dump_i2c_reg(I2C_PORT_MASTER, "dump"); return EC_SUCCESS; } DECLARE_CONSOLE_COMMAND(i2cdump, command_i2cdump, -- cgit v1.2.1