summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-30 10:26:43 -0400
committerTom Rini <trini@konsulko.com>2021-09-30 10:26:43 -0400
commitc8988efc884c680eb4f34295df6689a7e312c15d (patch)
tree573cfefc2ab21a033ae98fa2afbd57f1f6528496 /drivers/i2c
parent6eecaf5d0f6b9a500dd5798f1f2bc8296bcfe158 (diff)
parent0cf207ec01cbacae47585fcc26591dd2296507d6 (diff)
Merge branch '2021-09-30-whitespace-cleanups' into next
- A large number of whitespace cleanups from Wolfgang
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/designware_i2c.h2
-rw-r--r--drivers/i2c/mxc_i2c.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/designware_i2c.h b/drivers/i2c/designware_i2c.h
index 9b2349a0a2c..b56d7dd22f7 100644
--- a/drivers/i2c/designware_i2c.h
+++ b/drivers/i2c/designware_i2c.h
@@ -112,7 +112,7 @@ struct i2c_regs {
#define IC_TX_EMPTY 0x0010
#define IC_TX_OVER 0x0008
#define IC_RX_FULL 0x0004
-#define IC_RX_OVER 0x0002
+#define IC_RX_OVER 0x0002
#define IC_RX_UNDER 0x0001
/* fifo threshold register definitions */
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index 5057bd96650..aa13af3ae10 100644
--- a/drivers/i2c/mxc_i2c.c
+++ b/drivers/i2c/mxc_i2c.c
@@ -772,8 +772,6 @@ void bus_i2c_init(int index, int speed, int unused,
bus_i2c_set_bus_speed(&mxc_i2c_buses[index], speed);
}
-
-
/*
* Init I2C Bus
*/