RE: [PATCH v4 3/8] iio: Add support for DA9150 GPADC

2014-12-08 Thread Opensource [Adam Thomson]
On December 04, 2014 23:02, Hartmut Knaack wrote: > > + indio_dev = devm_iio_device_alloc(&pdev->dev, > > + sizeof(struct da9150_gpadc)); > BTW: If you use sizeof(*gpadc) instead (like it is usually done as well), > it will perfectly fit in one line. I prefer

Re: [PATCH v4 3/8] iio: Add support for DA9150 GPADC

2014-12-04 Thread Hartmut Knaack
Adam Thomson schrieb am 25.11.2014 um 19:25: > This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. > Moving iio_map_array_register around requires an adaption of the error out path. Please see my comment inline. > Signed-off-by: Adam Thomson > --- > drivers/iio/adc/Kconfig|

[PATCH v4 3/8] iio: Add support for DA9150 GPADC

2014-11-25 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 410 + 3 files changed, 420 insertions(+) cr