spi/fsl-dspi: Remove some coding sytle not in standard
Remove some coding sytle not in standard in former code. Signed-off-by: Chao Fu <b44548@freescale.com> Reviewed-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
1acbdeb92c
commit
88386e858b
|
@ -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 {
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue