spi: cadence: Fix some checkpatch warnings
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Wed, 6 Apr 2016 09:25:35 +0000 (14:55 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2016 17:16:46 +0000 (10:16 -0700)
commit57bb1369de36a72e2e13fde9c88663342f729ace
tree3cd8ac7412b1f5b73e33fcad55f99d9daf9d4345
parent6fe9b67dbe5e0a0abeeabd428cb596b913995b36
spi: cadence: Fix some checkpatch warnings

No functional change.
Fixing some style related issues

CHECK: multiple assignments should be avoided
+ new_ctrl_reg = ctrl_reg = cdns_spi_read(xspi, CDNS_SPI_CR);

CHECK: Alignment should match open parenthesis
+static void cdns_spi_config_clock_freq(struct spi_device *spi,
+   struct spi_transfer *transfer)

CHECK: Please use a blank line after function/struct/union/enum declarations
+}
+static int cdns_prepare_message(struct spi_master *master,

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence.c