Re: [PATCH] iio: light: iqs621: remove usage of iio_priv_to_dev()

2020-05-24 Thread Jonathan Cameron
On Fri, 22 May 2020 20:56:35 -0500 Jeff LaBundy wrote: > Hi Alexandru, > > On Fri, May 22, 2020 at 09:54:42AM +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 > > mem

Re: [PATCH] iio: light: iqs621: remove usage of iio_priv_to_dev()

2020-05-22 Thread Jeff LaBundy
Hi Alexandru, On Fri, May 22, 2020 at 09:54:42AM +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 them

[PATCH] iio: light: iqs621: remove usage of iio_priv_to_dev()

2020-05-21 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() he