Re: [PATCH v2] iio: adc: xilinx: Fix error handling

2017-02-25 Thread Jonathan Cameron
On 21/02/17 11:55, Lars-Peter Clausen wrote: > On 02/21/2017 07:34 AM, Christophe JAILLET wrote: >> Reorder error handling labels in order to match the way resources have >> been allocated. >> >> Signed-off-by: Christophe JAILLET > > Thanks. > > Acked-by: Lars-Peter Clausen Applied to the fixes

Re: [PATCH v2] iio: adc: xilinx: Fix error handling

2017-02-21 Thread Lars-Peter Clausen
On 02/21/2017 07:34 AM, Christophe JAILLET wrote: > Reorder error handling labels in order to match the way resources have > been allocated. > > Signed-off-by: Christophe JAILLET Thanks. Acked-by: Lars-Peter Clausen > --- > v2: update goto label if 'xadc->ops->setup()' fails > --- > drivers/

[PATCH v2] iio: adc: xilinx: Fix error handling

2017-02-20 Thread Christophe JAILLET
Reorder error handling labels in order to match the way resources have been allocated. Signed-off-by: Christophe JAILLET --- v2: update goto label if 'xadc->ops->setup()' fails --- drivers/iio/adc/xilinx-xadc-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/