Re: [RESEND PATCH v2 2/2] staging: iio: accel: add error check

2016-06-26 Thread Jonathan Cameron
On 22/06/16 20:43, Luis de Bethencourt wrote: > Go to error_ret if sca3000_read_ctrl_reg() failed. > > Signed-off-by: Luis de Bethencourt Applied to the togreg branch of iio.git - will be initially pushed out as testing for the autobuilders to play with it. Thanks,

[RESEND PATCH v2 2/2] staging: iio: accel: add error check

2016-06-22 Thread Luis de Bethencourt
Go to error_ret if sca3000_read_ctrl_reg() failed. Signed-off-by: Luis de Bethencourt --- drivers/staging/iio/accel/sca3000_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c