Re: [PATCH v2] iio: stm32-dfsdm-adc: remove usage of iio_priv_to_dev() helper

2020-06-20 Thread Jonathan Cameron
On Fri, 19 Jun 2020 08:00:36 + "Ardelean, Alexandru" wrote: > On Sun, 2020-05-31 at 15:45 +0100, Jonathan Cameron wrote: > > [External] > > > > On Mon, 25 May 2020 11:26:48 +0300 > > Alexandru Ardelean wrote: > > > > > We may want to get rid of the iio_priv_to_dev() helper. The reason is

Re: [PATCH v2] iio: stm32-dfsdm-adc: remove usage of iio_priv_to_dev() helper

2020-06-19 Thread Ardelean, Alexandru
On Sun, 2020-05-31 at 15:45 +0100, Jonathan Cameron wrote: > [External] > > On Mon, 25 May 2020 11:26:48 +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 preven

Re: [PATCH v2] iio: stm32-dfsdm-adc: remove usage of iio_priv_to_dev() helper

2020-05-31 Thread Jonathan Cameron
On Mon, 25 May 2020 11:26:48 +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 v2] iio: stm32-dfsdm-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