spi: spi-davinci: Fix variable type
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 11 Sep 2013 10:35:04 +0000 (16:05 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:18:34 +0000 (00:18 +0100)
commit32ea3944436ca9e73677f9d844289780f255d45a
treed716cee5dced83d7c99e25ff719cfc732a3e97da
parent272b98c6455f00884f0350f775c5342358ebb73f
spi: spi-davinci: Fix variable type

'prescale' contains the return value of davinci_spi_get_prescale()
which is a signed integer. Convert 'prescale' to integer to silence
the following warning:
drivers/spi/spi-davinci.c:318 davinci_spi_setup_transfer() warn:
unsigned 'prescale' is never less than zero.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-davinci.c