iio: adc: vf610: Return the error code directly
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 3 Oct 2014 01:25:23 +0000 (22:25 -0300)
committerJonathan Cameron <jic23@kernel.org>
Sat, 4 Oct 2014 11:28:02 +0000 (12:28 +0100)
commit2e3d6675dc2f402d8b799b773324e60af3e2a325
tree5207fe4d217a7b900df414d6c5456d103a71177f
parent7be178bb48bc3ed5af2f6cfdb69074dba4bd87b9
iio: adc: vf610: Return the error code directly

There is no need to pass the error clock code to the variable 'ret'.

Just return the error directly.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/vf610_adc.c