Re: [PATCH] bq27x00: use cached flags

2019-02-19 Thread Sebastian Reichel
Hi, On Tue, Feb 19, 2019 at 10:55:37AM -0600, Andrew F. Davis wrote: > On 2/18/19 12:59 AM, Arthur Demchenkov wrote: > > The flags were just read by bq27xxx_battery_update(), > > no need to read them again. > > > > Signed-off-by: Arthur Demchenkov > > --- > > Nothing obviously wrong with this p

Re: [PATCH] bq27x00: use cached flags

2019-02-19 Thread Andrew F. Davis
On 2/18/19 12:59 AM, Arthur Demchenkov wrote: > The flags were just read by bq27xxx_battery_update(), > no need to read them again. > > Signed-off-by: Arthur Demchenkov > --- Nothing obviously wrong with this patch so: Reviewed-by: Andrew F. Davis At this point we have W1 regmap and so we now

[PATCH] bq27x00: use cached flags

2019-02-17 Thread Arthur Demchenkov
The flags were just read by bq27xxx_battery_update(), no need to read them again. Signed-off-by: Arthur Demchenkov --- drivers/power/supply/bq27xxx_battery.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/drivers/power/supply/bq27xxx_battery.c b/driver