Re: [PATCH] Staging: iio: adt7316: Add regmap support

2019-01-12 Thread Jonathan Cameron
... > > > diff --git a/drivers/staging/iio/addac/adt7316.h > > > b/drivers/staging/iio/addac/adt7316.h > > > index fd7c5c92b599..2c72cf3f71cd 100644 > > > --- a/drivers/staging/iio/addac/adt7316.h > > > +++ b/drivers/staging/iio/addac/adt7316.h > > > @@ -11,16 +11,13 @@ > > > > > > #include

Re: [PATCH] Staging: iio: adt7316: Add regmap support

2019-01-05 Thread Jeremy Fertic
On Sat, Jan 05, 2019 at 05:20:37PM +, Jonathan Cameron wrote: > +CC Jeremy who is also working with this device. > > On Sun, 23 Dec 2018 19:32:24 +0530 > Shreeya Patel wrote: > > > Both i2c and spi drivers have functions for reading and writing > > to/from registers. Remove this redundant

Re: [PATCH] Staging: iio: adt7316: Add regmap support

2019-01-05 Thread Jonathan Cameron
+CC Jeremy who is also working with this device. On Sun, 23 Dec 2018 19:32:24 +0530 Shreeya Patel wrote: > Both i2c and spi drivers have functions for reading and writing > to/from registers. Remove this redundant and common code by using > regmap API. > Also remove multi_read and multi_write

[PATCH] Staging: iio: adt7316: Add regmap support

2018-12-23 Thread Shreeya Patel
Both i2c and spi drivers have functions for reading and writing to/from registers. Remove this redundant and common code by using regmap API. Also remove multi_read and multi_write functions from i2c and spi driver as they are not being used anywhere. Signed-off-by: Shreeya Patel ---