iio: ad5504: Remove redundant variable
authorSachin Kamat <sachin.kamat@samsung.com>
Fri, 7 Mar 2014 07:38:00 +0000 (07:38 +0000)
committerJonathan Cameron <jic23@kernel.org>
Thu, 3 Jul 2014 20:58:26 +0000 (21:58 +0100)
commit0d3a9b2daddc1ebb6db66d5f913bcd93f449f8e5
tree647895000934fac73be919249087ce8a31900f27
parent15255c6b4de66b8d282d0b62398d90ff7b24f4a5
iio: ad5504: Remove redundant variable

By re-arranging the code, 'ret' can be removed from this
function.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5504.c