]> git.baikalelectronics.ru Git - kernel.git/commit
spi: mpc512x: minor prep before feature change
authorGerhard Sittig <gsi@denx.de>
Mon, 3 Jun 2013 12:03:49 +0000 (14:03 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 4 Jun 2013 17:22:47 +0000 (18:22 +0100)
commitd0b75063f386eeaa24972556baf1a742de2fecd5
treedf6049a38ab0495396e5178eb05d8c22e2bcbf99
parentc8ee1052d08c618e2b5993b5619124af3d2e89ab
spi: mpc512x: minor prep before feature change

mechanical edits before changing functionality, to reduce diffs
- rename variables to later tell remaining TX and RX apart
- use size_t for the current TX and RX length
  (for better compatibility with the min() macro)
- remove unused members from the master data (sysclk, eofbyte)
- silence a checkpatch warning (braces around single statement)

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-mpc512x-psc.c