spi/xilinx: signedness issue checking platform_get_irq()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 17 Jul 2013 15:34:48 +0000 (18:34 +0300)
committerMark Brown <broonie@linaro.org>
Wed, 17 Jul 2013 17:19:44 +0000 (18:19 +0100)
commit9ca1273bb9d35c81bfb73215556bf794a73a2d83
treeffabe4afdc7ef533f10091b2640c2b0bda0eef92
parent7b3b7432ae7848a269671921393148ff1aae3881
spi/xilinx: signedness issue checking platform_get_irq()

In xilinx_spi_probe() we use xspi->irq to store negative error codes so
it has to be signed.  We weren't going to use the upper bit any way so
this is fine.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-xilinx.c