Re: [PATCH] iio: position: iqs624: remove usage of iio_priv_to_dev()

2020-05-24 Thread Jonathan Cameron
On Fri, 22 May 2020 20:53:40 -0500 Jeff LaBundy wrote: > Hi Alexandru, > > On Fri, May 22, 2020 at 09:53:22AM +0300, Alexandru Ardelean wrote: > > We may want to get rid of the iio_priv_to_dev() helper. That's a bit > > uncertain at this point. The reason is that we will hide some of the > >

Re: [PATCH] iio: position: iqs624: remove usage of iio_priv_to_dev()

2020-05-22 Thread Jeff LaBundy
Hi Alexandru, On Fri, May 22, 2020 at 09:53:22AM +0300, Alexandru Ardelean wrote: > We may want to get rid of the iio_priv_to_dev() helper. That's a bit > uncertain at this point. The reason is that we will hide some of the > members of the iio_dev structure (to prevent drivers from accessing

[PATCH] iio: position: iqs624: remove usage of iio_priv_to_dev()

2020-05-22 Thread Alexandru Ardelean
We may want to get rid of the iio_priv_to_dev() helper. That's a bit uncertain at this point. The reason is that we will hide some of the members of the iio_dev structure (to prevent drivers from accessing them directly), and that will also mean hiding the implementation of the iio_priv_to_dev()