i2c: designware: Fix indentation in the header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Jul 2021 14:20:27 +0000 (17:20 +0300)
committerWolfram Sang <wsa@kernel.org>
Wed, 11 Aug 2021 14:43:32 +0000 (16:43 +0200)
In couple of places the indentation makes harder to read the code.
Fix it to be sane.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-core.h

index 6a53f75abf7c79b3ac31ecdb00d502acc032e9bd..60a2e750cee96f5ecb1793c686055e52c4b6ea7b 100644 (file)
 
 #define DW_IC_ERR_TX_ABRT      0x1
 
-#define DW_IC_TAR_10BITADDR_MASTER BIT(12)
+#define DW_IC_TAR_10BITADDR_MASTER     BIT(12)
 
 #define DW_IC_COMP_PARAM_1_SPEED_MODE_HIGH     (BIT(2) | BIT(3))
 #define DW_IC_COMP_PARAM_1_SPEED_MODE_MASK     GENMASK(3, 2)
@@ -245,7 +245,7 @@ struct dw_i2c_dev {
        struct clk              *clk;
        struct clk              *pclk;
        struct reset_control    *rst;
-       struct i2c_client               *slave;
+       struct i2c_client       *slave;
        u32                     (*get_clk_rate_khz) (struct dw_i2c_dev *dev);
        int                     cmd_err;
        struct i2c_msg          *msgs;