Commit 88386e85 authored by Chao Fu's avatar Chao Fu Committed by Mark Brown

spi/fsl-dspi: Remove some coding sytle not in standard

Remove some coding sytle not in standard in former code.
Signed-off-by: default avatarChao Fu <b44548@freescale.com>
Reviewed-by: default avatarXiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 1acbdeb9
...@@ -111,9 +111,9 @@ struct fsl_dspi { ...@@ -111,9 +111,9 @@ struct fsl_dspi {
struct regmap *regmap; struct regmap *regmap;
int irq; int irq;
struct clk *clk; struct clk *clk;
struct spi_transfer *cur_transfer; struct spi_transfer *cur_transfer;
struct chip_data *cur_chip; struct chip_data *cur_chip;
size_t len; size_t len;
void *tx; void *tx;
...@@ -124,8 +124,8 @@ struct fsl_dspi { ...@@ -124,8 +124,8 @@ struct fsl_dspi {
u8 cs; u8 cs;
u16 void_write_data; u16 void_write_data;
wait_queue_head_t waitq; wait_queue_head_t waitq;
u32 waitflags; u32 waitflags;
}; };
static inline int is_double_byte_mode(struct fsl_dspi *dspi) static inline int is_double_byte_mode(struct fsl_dspi *dspi)
......
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