summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-dspi.c
diff options
context:
space:
mode:
authorChao Fu <B44548@freescale.com>2014-02-12 15:29:06 +0800
committerMark Brown <broonie@linaro.org>2014-02-16 09:15:41 +0800
commit88386e858bbb21eb05c15c040dbb3e6ad1cb3568 (patch)
tree37192c6b18bedecf6e29c6dc42e612e0c018460b /drivers/spi/spi-fsl-dspi.c
parent1acbdeb92c87fc18eade0815dedc257fe45b88b7 (diff)
downloadlinux-88386e858bbb21eb05c15c040dbb3e6ad1cb3568.tar.bz2
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.c8
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)