diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2012-11-23 04:09:03 -0500 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-11-24 14:27:24 -0500 |
commit | 5f433819b3ee4d8603f834e1438462c4ad58b185 (patch) | |
tree | 4fbecf56ab3e91654752e5ccf0d94d70925e1eee /drivers/i2c/busses/i2c-at91.c | |
parent | cd32e6ccdda15be1bf5b1b0a52631b06bb243d9e (diff) |
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: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-at91.c')
-rw-r--r-- | drivers/i2c/busses/i2c-at91.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 511bd756f280..4f7577f23142 100644 --- a/drivers/i2c/busses/i2c-at91.c +++ b/drivers/i2c/busses/i2c-at91.c | |||
@@ -66,24 +66,24 @@ | |||
66 | #define AT91_TWI_THR 0x0034 /* Transmit Holding Register */ | 66 | #define AT91_TWI_THR 0x0034 /* Transmit Holding Register */ |
67 | 67 | ||
68 | struct at91_twi_pdata { | 68 | struct at91_twi_pdata { |
69 | unsigned clk_max_div; | 69 | unsigned clk_max_div; |
70 | unsigned clk_offset; | 70 | unsigned clk_offset; |
71 | bool has_unre_flag; | 71 | bool has_unre_flag; |
72 | }; | 72 | }; |
73 | 73 | ||
74 | struct at91_twi_dev { | 74 | struct at91_twi_dev { |
75 | struct device *dev; | 75 | struct device *dev; |
76 | void __iomem *base; | 76 | void __iomem *base; |
77 | struct completion cmd_complete; | 77 | struct completion cmd_complete; |
78 | struct clk *clk; | 78 | struct clk *clk; |
79 | u8 *buf; | 79 | u8 *buf; |
80 | size_t buf_len; | 80 | size_t buf_len; |
81 | struct i2c_msg *msg; | 81 | struct i2c_msg *msg; |
82 | int irq; | 82 | int irq; |
83 | unsigned transfer_status; | 83 | unsigned transfer_status; |
84 | struct i2c_adapter adapter; | 84 | struct i2c_adapter adapter; |
85 | unsigned twi_cwgr_reg; | 85 | unsigned twi_cwgr_reg; |
86 | struct at91_twi_pdata *pdata; | 86 | struct at91_twi_pdata *pdata; |
87 | }; | 87 | }; |
88 | 88 | ||
89 | static unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg) | 89 | static unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg) |