diff options
author | Chao Fu <B44548@freescale.com> | 2014-02-12 08:29:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-16 02:15:41 +0100 |
commit | 88386e858bbb21eb05c15c040dbb3e6ad1cb3568 (patch) | |
tree | 37192c6b18bedecf6e29c6dc42e612e0c018460b /drivers/spi/spi-fsl-dspi.c | |
parent | spi/fsl-dspi: Convert to use regmap and add big-endian support (diff) | |
download | linux-88386e858bbb21eb05c15c040dbb3e6ad1cb3568.tar.xz linux-88386e858bbb21eb05c15c040dbb3e6ad1cb3568.zip |
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>
Diffstat (limited to 'drivers/spi/spi-fsl-dspi.c')
-rw-r--r-- | drivers/spi/spi-fsl-dspi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index fb16575d233f..42ede0d796a7 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c @@ -111,9 +111,9 @@ struct fsl_dspi { struct regmap *regmap; int irq; - struct clk *clk; + struct clk *clk; - struct spi_transfer *cur_transfer; + struct spi_transfer *cur_transfer; struct chip_data *cur_chip; size_t len; void *tx; @@ -124,8 +124,8 @@ struct fsl_dspi { u8 cs; u16 void_write_data; - wait_queue_head_t waitq; - u32 waitflags; + wait_queue_head_t waitq; + u32 waitflags; }; static inline int is_double_byte_mode(struct fsl_dspi *dspi) |