]> git.baikalelectronics.ru Git - kernel.git/commit
spi: atmel: Make current_remaining_bytes to be int
authorAxel Lin <axel.lin@ingics.com>
Thu, 27 Mar 2014 01:26:38 +0000 (09:26 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 16:06:17 +0000 (17:06 +0100)
commit42740b1b626a14da667f01605f28bf29ce85dbc7
tree4c5f3bfc546c5ddbf29073b3b5ad525a2f6a9d39
parent03a169e57a9a3fd69c1713c317a06f163ad63b5c
spi: atmel: Make current_remaining_bytes to be int

Don't use unsigned for current_remaining_bytes so we can check
current_remaining_bytes < 0 case.
Use int is enough for current_remaining_bytes.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-atmel.c