Re: [PATCH 3/3] power_supply: bq27xxx_battery: Group register mappings into one table

2016-06-17 Thread Andrew F. Davis
On 06/09/2016 08:29 PM, Sebastian Reichel wrote: > Hi, > > On Tue, May 31, 2016 at 01:45:00PM -0500, Andrew F. Davis wrote: >> Currently for each device with a unique register map we have a named >> array that we then merge into a multidimensional array. Skip this >> middle step and apply the

Re: [PATCH 3/3] power_supply: bq27xxx_battery: Group register mappings into one table

2016-06-17 Thread Andrew F. Davis
On 06/09/2016 08:29 PM, Sebastian Reichel wrote: > Hi, > > On Tue, May 31, 2016 at 01:45:00PM -0500, Andrew F. Davis wrote: >> Currently for each device with a unique register map we have a named >> array that we then merge into a multidimensional array. Skip this >> middle step and apply the

Re: [PATCH 3/3] power_supply: bq27xxx_battery: Group register mappings into one table

2016-06-09 Thread Sebastian Reichel
Hi, On Tue, May 31, 2016 at 01:45:00PM -0500, Andrew F. Davis wrote: > Currently for each device with a unique register map we have a named > array that we then merge into a multidimensional array. Skip this > middle step and apply the register arrays directly to the multi-array. I applied the

Re: [PATCH 3/3] power_supply: bq27xxx_battery: Group register mappings into one table

2016-06-09 Thread Sebastian Reichel
Hi, On Tue, May 31, 2016 at 01:45:00PM -0500, Andrew F. Davis wrote: > Currently for each device with a unique register map we have a named > array that we then merge into a multidimensional array. Skip this > middle step and apply the register arrays directly to the multi-array. I applied the

[PATCH 3/3] power_supply: bq27xxx_battery: Group register mappings into one table

2016-05-31 Thread Andrew F. Davis
Currently for each device with a unique register map we have a named array that we then merge into a multidimensional array. Skip this middle step and apply the register arrays directly to the multi-array. Signed-off-by: Andrew F. Davis --- drivers/power/bq27xxx_battery.c | 281

[PATCH 3/3] power_supply: bq27xxx_battery: Group register mappings into one table

2016-05-31 Thread Andrew F. Davis
Currently for each device with a unique register map we have a named array that we then merge into a multidimensional array. Skip this middle step and apply the register arrays directly to the multi-array. Signed-off-by: Andrew F. Davis --- drivers/power/bq27xxx_battery.c | 281