]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: i2c: Remove duplicate newlines
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 20 Jul 2024 12:40:39 +0000 (14:40 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 22 Jul 2024 16:53:05 +0000 (10:53 -0600)
Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/exynos_hs_i2c.c
drivers/i2c/i2c-uniphier.c
drivers/i2c/imx_lpi2c.c
drivers/i2c/muxes/i2c-mux-gpio.c
drivers/i2c/mxc_i2c.c
drivers/i2c/rcar_i2c.c
drivers/i2c/soft_i2c.c

index 9a364fdae375236f5136ea73aa333e2472dbe561..2ab0bae4499e0fc622966e1b8da6b751cb2769c7 100644 (file)
@@ -76,7 +76,6 @@ DECLARE_GLOBAL_DATA_PTR;
                                 HSI2C_TRANS_ABORT)
 #define HSI2C_TRANS_FINISHED_MASK (HSI2C_TRANS_ERROR_MASK | HSI2C_TRANS_SUCCESS)
 
-
 /* I2C_FIFO_STAT Register bits */
 #define HSI2C_RX_FIFO_EMPTY            (1u << 24)
 #define HSI2C_RX_FIFO_FULL             (1u << 23)
index 6eafbeeef4e0586a6d5684f3bac171aed7c60dbb..cc22c075ab1ae56929f4d373dde47db67f033259 100644 (file)
@@ -198,7 +198,6 @@ static int uniphier_i2c_set_bus_speed(struct udevice *bus, unsigned int speed)
        return 0;
 }
 
-
 static const struct dm_i2c_ops uniphier_i2c_ops = {
        .xfer = uniphier_i2c_xfer,
        .set_bus_speed = uniphier_i2c_set_bus_speed,
index 6c0d8eb5f4f532503f7b1595c5fc3189ed1e091f..a1be841b1193429978abe681c6790f064efb1d9c 100644 (file)
@@ -263,7 +263,6 @@ static int bus_i2c_write(struct udevice *bus, u32 chip, u8 *buf, int len)
        return result;
 }
 
-
 u32 __weak imx_get_i2cclk(u32 i2c_num)
 {
        return 0;
index f212bd1f983647e0df261b280ad8dd80cae752b8..0a2800ebd7a5b30ffec1a1e1a3ff8fa8b9e44a87 100644 (file)
@@ -38,7 +38,6 @@ struct i2c_mux_gpio_priv {
        u32 idle;
 };
 
-
 static int i2c_mux_gpio_select(struct udevice *dev, struct udevice *bus,
                               uint channel)
 {
index 0acdaf7e7431f5a701843e7e17e2af279a0b385e..84c0050eac085b9d530a2577a85fbdb5789e2c22 100644 (file)
@@ -512,7 +512,6 @@ static int i2c_init_transfer(struct mxc_i2c_bus *i2c_bus, u8 chip,
        return ret;
 }
 
-
 static int i2c_write_data(struct mxc_i2c_bus *i2c_bus, u8 chip, const u8 *buf,
                          int len)
 {
index f0f9b2afacfbb7f9a48a497c92126bfb7773601c..3bd5108fd2357800ebecef3a38a4a93f65d32792 100644 (file)
@@ -54,7 +54,6 @@
 #define RCAR_I2C_ICFBSCR               0x38
 #define RCAR_I2C_ICFBSCR_TCYC17                0x0f /* 17*Tcyc */
 
-
 enum rcar_i2c_type {
        RCAR_I2C_TYPE_GEN2,
        RCAR_I2C_TYPE_GEN3,
index 1f2afc65e8b314084547b58535a2740f97731e43..89ddf8210637cb10f97f4cce311cdab23b1129bd 100644 (file)
@@ -96,7 +96,6 @@ DECLARE_GLOBAL_DATA_PTR;
 #define I2C_ACK                0               /* PD_SDA level to ack a byte */
 #define I2C_NOACK      1               /* PD_SDA level to noack a byte */
 
-
 #ifdef DEBUG_I2C
 #define PRINTD(fmt,args...)    do {    \
                printf (fmt ,##args);   \