iio: adc: xilinx: Fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 21 Feb 2017 06:34:00 +0000 (07:34 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 25 Feb 2017 16:39:32 +0000 (16:39 +0000)
commitca1c39ef76376b67303d01f94fe98bb68bb3861a
tree752255e4bf89fe360f6bcb21dce162cc76ccdf4d
parentca8d8e03b4c9ad447d1e882cc8014e538f653018
iio: adc: xilinx: Fix error handling

Reorder error handling labels in order to match the way resources have
been allocated.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/xilinx-xadc-core.c