Re: [PATCH] iio: light: isl29125: use iio helper function to guarantee direct mode

2016-06-11 Thread Jonathan Cameron
On 11/06/16 17:05, Jonathan Cameron wrote: > On 11/06/16 16:57, Jonathan Cameron wrote: >> On 07/06/16 06:23, Peter Meerwald-Stadler wrote: >>> Replace the code that guarantees the device stays in direct mode with iio_device_claim_direct_mode() which does same. This allows removal o

Re: [PATCH] iio: light: isl29125: use iio helper function to guarantee direct mode

2016-06-11 Thread Jonathan Cameron
On 11/06/16 16:57, Jonathan Cameron wrote: > On 07/06/16 06:23, Peter Meerwald-Stadler wrote: >> >>> Replace the code that guarantees the device stays in direct mode >>> with iio_device_claim_direct_mode() which does same. This allows >>> removal of an unused lock in the device private global data

Re: [PATCH] iio: light: isl29125: use iio helper function to guarantee direct mode

2016-06-11 Thread Jonathan Cameron
On 07/06/16 06:23, Peter Meerwald-Stadler wrote: > >> Replace the code that guarantees the device stays in direct mode >> with iio_device_claim_direct_mode() which does same. This allows >> removal of an unused lock in the device private global data. > > nice! > Acked-by: Peter Meerwald-Stadler

Re: [PATCH] iio: light: isl29125: use iio helper function to guarantee direct mode

2016-06-06 Thread Peter Meerwald-Stadler
> Replace the code that guarantees the device stays in direct mode > with iio_device_claim_direct_mode() which does same. This allows > removal of an unused lock in the device private global data. nice! Acked-by: Peter Meerwald-Stadler > Signed-off-by: Alison Schofield > Cc: Daniel Baluta >