Re: [PATCH] iio: light: tsl2563: pass iio device as i2c_client private data

2020-05-24 Thread Jonathan Cameron
On Fri, 22 May 2020 10:08:01 +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 > directly), and th

[PATCH] iio: light: tsl2563: pass iio device as i2c_client private data

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() he