Re: [PATCH 18/20] iio: bcm150: Remove i2c_client from private data

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:33:51PM +0100, Jonathan Cameron wrote: > On 12/08/15 11:12, Markus Pargmann wrote: > > i2c_client struct is now only used for debugging output. We can use the > > device struct as well so we can remove all struct i2c_client usage. > > > > Signed-off-by: Markus Pargmann

Re: [PATCH 18/20] iio: bcm150: Remove i2c_client from private data

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:33:51PM +0100, Jonathan Cameron wrote: On 12/08/15 11:12, Markus Pargmann wrote: i2c_client struct is now only used for debugging output. We can use the device struct as well so we can remove all struct i2c_client usage. Signed-off-by: Markus Pargmann

Re: [PATCH 18/20] iio: bcm150: Remove i2c_client from private data

2015-08-15 Thread Jonathan Cameron
On 12/08/15 11:12, Markus Pargmann wrote: > i2c_client struct is now only used for debugging output. We can use the > device struct as well so we can remove all struct i2c_client usage. > > Signed-off-by: Markus Pargmann This one looks fine to me. Acked-by: Jonathan Cameron Ideally these

Re: [PATCH 18/20] iio: bcm150: Remove i2c_client from private data

2015-08-15 Thread Jonathan Cameron
On 12/08/15 11:12, Markus Pargmann wrote: i2c_client struct is now only used for debugging output. We can use the device struct as well so we can remove all struct i2c_client usage. Signed-off-by: Markus Pargmann m...@pengutronix.de This one looks fine to me. Acked-by: Jonathan Cameron

[PATCH 18/20] iio: bcm150: Remove i2c_client from private data

2015-08-12 Thread Markus Pargmann
i2c_client struct is now only used for debugging output. We can use the device struct as well so we can remove all struct i2c_client usage. Signed-off-by: Markus Pargmann --- drivers/iio/accel/bmc150-accel.c | 120 +++ 1 file changed, 58 insertions(+), 62

[PATCH 18/20] iio: bcm150: Remove i2c_client from private data

2015-08-12 Thread Markus Pargmann
i2c_client struct is now only used for debugging output. We can use the device struct as well so we can remove all struct i2c_client usage. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/accel/bmc150-accel.c | 120 +++ 1 file changed, 58