aboutsummaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5420/i2c.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:45:24 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:18:07 +0000
commit0c2724c844d0923b70b634abcad54a8ad04ef9e8 (patch)
tree955c2ff31fb5d4123f9fedea1c3494bad081bc3d /src/soc/samsung/exynos5420/i2c.c
parent0180e43f3d7ecc17091a80d3892ecb06e6707efc (diff)
soc/samsung: Drop unneeded empty lines
Change-Id: Ib2843c40de8e4607b8b9d665761a689227878bc0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44600 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/soc/samsung/exynos5420/i2c.c')
-rw-r--r--src/soc/samsung/exynos5420/i2c.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/samsung/exynos5420/i2c.c b/src/soc/samsung/exynos5420/i2c.c
index 45657f13cf..ab17d52c44 100644
--- a/src/soc/samsung/exynos5420/i2c.c
+++ b/src/soc/samsung/exynos5420/i2c.c
@@ -71,7 +71,6 @@ struct i2c_bus
unsigned int clk_div;
};
-
static struct i2c_bus i2c_busses[] = {
{
.bus_num = 0,
@@ -236,9 +235,6 @@ enum {
I2cStatMasterXmit = 0x3 << 6
};
-
-
-
static int hsi2c_get_clk_details(struct i2c_bus *i2c, int *div, int *cycle,
unsigned int op_clk)
{
@@ -487,9 +483,6 @@ static int hsi2c_transfer(struct i2c_bus *i2c, struct i2c_msg *segments,
return 0;
}
-
-
-
static int i2c_int_pending(struct i2c_regs *regs)
{
return read8(&regs->con) & I2cConIntPending;
@@ -539,9 +532,6 @@ static int i2c_wait_for_int(struct i2c_regs *regs)
return 1;
}
-
-
-
static int i2c_send_stop(struct i2c_regs *regs)
{
uint8_t mode = read8(&regs->stat) & (I2cStatModeMask);