Re: [PATCH] iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper

2020-06-20 Thread Jonathan Cameron
On Thu, 18 Jun 2020 13:34:13 + "Ardelean, Alexandru" wrote: > On Thu, 2020-06-18 at 12:47 +, eugen.hris...@microchip.com wrote: > > [External] > > > > On 17.06.2020 17:02, Ardelean, Alexandru wrote: > > > On Wed, 2020-06-17 at 13:25 +, eugen.hris...@microchip.com wrote: > > > > O

Re: [PATCH] iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper

2020-06-18 Thread Ardelean, Alexandru
On Thu, 2020-06-18 at 12:47 +, eugen.hris...@microchip.com wrote: > [External] > > On 17.06.2020 17:02, Ardelean, Alexandru wrote: > > On Wed, 2020-06-17 at 13:25 +, eugen.hris...@microchip.com wrote: > > > On 31.05.2020 17:39, Jonathan Cameron wrote: > > > > > > > On Mon, 25 May 2020 13:

Re: [PATCH] iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper

2020-06-18 Thread Eugen.Hristev
On 17.06.2020 17:02, Ardelean, Alexandru wrote: > On Wed, 2020-06-17 at 13:25 +, eugen.hris...@microchip.com wrote: >> On 31.05.2020 17:39, Jonathan Cameron wrote: >> >>> On Mon, 25 May 2020 13:53:41 +0300 >>> Alexandru Ardelean wrote: >>> We may want to get rid of the iio_priv_to_dev() h

Re: [PATCH] iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper

2020-06-17 Thread Ardelean, Alexandru
On Wed, 2020-06-17 at 13:25 +, eugen.hris...@microchip.com wrote: > On 31.05.2020 17:39, Jonathan Cameron wrote: > > > On Mon, 25 May 2020 13:53:41 +0300 > > Alexandru Ardelean wrote: > > > > > We may want to get rid of the iio_priv_to_dev() helper. The reason is that > > > we will hide some

Re: [PATCH] iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper

2020-06-17 Thread Eugen.Hristev
On 31.05.2020 17:39, Jonathan Cameron wrote: > On Mon, 25 May 2020 13:53:41 +0300 > Alexandru Ardelean wrote: > >> We may want to get rid of the iio_priv_to_dev() helper. The reason is that >> we will hide some of the members of the iio_dev structure (to prevent >> drivers from accessing them di

Re: [PATCH] iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper

2020-05-31 Thread Jonathan Cameron
On Mon, 25 May 2020 13:53:41 +0300 Alexandru Ardelean wrote: > We may want to get rid of the iio_priv_to_dev() helper. 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 > implement

[PATCH] iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper

2020-05-25 Thread Alexandru Ardelean
We may want to get rid of the iio_priv_to_dev() helper. 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() helper inside the IIO core. Hiding the