Re: [PATCH] [V2]power: battery: Generic battery driver using IIO

2012-09-21 Thread anish kumar
On Thu, 2012-09-20 at 18:45 -0700, Anton Vorontsov wrote: > On Tue, Sep 18, 2012 at 11:33:20PM +0530, anish kumar wrote: > > From: anish kumar > > > > In last version: > > Addressed concerns raised by lars: > > a. made the adc_bat per device. > > b. get the IIO channel using hardcoded channel nam

Re: [PATCH] [V2]power: battery: Generic battery driver using IIO

2012-09-20 Thread Anton Vorontsov
On Tue, Sep 18, 2012 at 11:33:20PM +0530, anish kumar wrote: > From: anish kumar > > In last version: > Addressed concerns raised by lars: > a. made the adc_bat per device. > b. get the IIO channel using hardcoded channel names. > c. Minor issues related to gpio_is_valid and some code >refact

[PATCH] [V2]power: battery: Generic battery driver using IIO

2012-09-18 Thread anish kumar
From: anish kumar In last version: Addressed concerns raised by lars: a. made the adc_bat per device. b. get the IIO channel using hardcoded channel names. c. Minor issues related to gpio_is_valid and some code refactoring. In V1: Addressed concerns raised by Anton: a. changed the struct name