Commit 5f433819 authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Wolfram Sang

i2c: at91: change struct members indentation

Replace tabs for struct members indentation by space to minimise line changes
when adding new members which would require extra tabs to keep alignment.
Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent cd32e6cc
...@@ -66,24 +66,24 @@ ...@@ -66,24 +66,24 @@
#define AT91_TWI_THR 0x0034 /* Transmit Holding Register */ #define AT91_TWI_THR 0x0034 /* Transmit Holding Register */
struct at91_twi_pdata { struct at91_twi_pdata {
unsigned clk_max_div; unsigned clk_max_div;
unsigned clk_offset; unsigned clk_offset;
bool has_unre_flag; bool has_unre_flag;
}; };
struct at91_twi_dev { struct at91_twi_dev {
struct device *dev; struct device *dev;
void __iomem *base; void __iomem *base;
struct completion cmd_complete; struct completion cmd_complete;
struct clk *clk; struct clk *clk;
u8 *buf; u8 *buf;
size_t buf_len; size_t buf_len;
struct i2c_msg *msg; struct i2c_msg *msg;
int irq; int irq;
unsigned transfer_status; unsigned transfer_status;
struct i2c_adapter adapter; struct i2c_adapter adapter;
unsigned twi_cwgr_reg; unsigned twi_cwgr_reg;
struct at91_twi_pdata *pdata; struct at91_twi_pdata *pdata;
}; };
static unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg) static unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment