iio: dac/ad5755: signedness bug in ad5755_setup_pdata()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 19 Sep 2012 06:27:00 +0000 (07:27 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 22 Sep 2012 09:09:40 +0000 (10:09 +0100)
commit369d0e20138c774e4c0c07ca1572e412207bc3fc
treefc66e7e7c68d529e64be8ac5c16ad0fda0f3d430
parentf07b60b7c34b771431f1d00e783f29a3667ff5ee
iio: dac/ad5755: signedness bug in ad5755_setup_pdata()

We need "ret" to be signed for the error handling to work correctly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5755.c