aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.14/120-spiflash.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-12 06:52:36 +0000
committerJohn Crispin <john@openwrt.org>2014-09-12 06:52:36 +0000
commit2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25 (patch)
tree60bc58031dc7ae7702b74bd433c0cfb7c91aa715 /target/linux/atheros/patches-3.14/120-spiflash.patch
parentd34c3e06746d4681d9b2e47b5f47731971126a41 (diff)
downloadupstream-2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25.tar.gz
upstream-2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25.tar.bz2
upstream-2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25.zip
atheros: various space related changes
- remove odd blank lines - remove odd spaces after casts - fix alignment No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42496
Diffstat (limited to 'target/linux/atheros/patches-3.14/120-spiflash.patch')
-rw-r--r--target/linux/atheros/patches-3.14/120-spiflash.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-3.14/120-spiflash.patch b/target/linux/atheros/patches-3.14/120-spiflash.patch
index 5fe86cbc0b..94f8e401a0 100644
--- a/target/linux/atheros/patches-3.14/120-spiflash.patch
+++ b/target/linux/atheros/patches-3.14/120-spiflash.patch
@@ -183,7 +183,7 @@
+ op = &stm_opcodes[opcode];
+ reg = spiflash_wait_busy(priv);
+ spiflash_write_reg(priv, SPI_FLASH_OPCODE,
-+ ((u32) op->code) | (addr << 8));
++ ((u32)op->code) | (addr << 8));
+
+ reg &= ~SPI_CTL_TX_RX_CNT_MASK;
+ reg |= SPI_CTL_START | op->tx_cnt | (op->rx_cnt << 4);
@@ -453,7 +453,7 @@
+ /* parse redboot partitions */
+
+ result = mtd_device_parse_register(mtd, part_probe_types,
-+ NULL, NULL, 0);
++ NULL, NULL, 0);
+#endif
+
+ return result;