Commit 0a9336ee authored by Jaakko Laine's avatar Jaakko Laine Committed by Wolfram Sang

i2c: xiic: Change code alignment to 1 space only

Alignment removed and replaced with 1 space only to
reduce need for future alignment changes affecting multiple
lines, when new variables are added.
Signed-off-by: default avatarJaakko Laine <ext-jaakko.laine@vaisala.com>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent ab70935d
...@@ -46,33 +46,33 @@ enum xiic_endian { ...@@ -46,33 +46,33 @@ enum xiic_endian {
/** /**
* struct xiic_i2c - Internal representation of the XIIC I2C bus * struct xiic_i2c - Internal representation of the XIIC I2C bus
* @dev: Pointer to device structure * @dev: Pointer to device structure
* @base: Memory base of the HW registers * @base: Memory base of the HW registers
* @wait: Wait queue for callers * @wait: Wait queue for callers
* @adap: Kernel adapter representation * @adap: Kernel adapter representation
* @tx_msg: Messages from above to be sent * @tx_msg: Messages from above to be sent
* @lock: Mutual exclusion * @lock: Mutual exclusion
* @tx_pos: Current pos in TX message * @tx_pos: Current pos in TX message
* @nmsgs: Number of messages in tx_msg * @nmsgs: Number of messages in tx_msg
* @state: See STATE_ * @state: See STATE_
* @rx_msg: Current RX message * @rx_msg: Current RX message
* @rx_pos: Position within current RX message * @rx_pos: Position within current RX message
* @endianness: big/little-endian byte order * @endianness: big/little-endian byte order
* @clk: Pointer to AXI4-lite input clock * @clk: Pointer to AXI4-lite input clock
*/ */
struct xiic_i2c { struct xiic_i2c {
struct device *dev; struct device *dev;
void __iomem *base; void __iomem *base;
wait_queue_head_t wait; wait_queue_head_t wait;
struct i2c_adapter adap; struct i2c_adapter adap;
struct i2c_msg *tx_msg; struct i2c_msg *tx_msg;
struct mutex lock; struct mutex lock;
unsigned int tx_pos; unsigned int tx_pos;
unsigned int nmsgs; unsigned int nmsgs;
enum xilinx_i2c_state state; enum xilinx_i2c_state state;
struct i2c_msg *rx_msg; struct i2c_msg *rx_msg;
int rx_pos; int rx_pos;
enum xiic_endian endianness; enum xiic_endian endianness;
struct clk *clk; struct clk *clk;
}; };
......
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