Re: [PATCH] power: supply: charger-manager: Tidy function

2020-10-08 Thread Sebastian Reichel
Hi, On Wed, Sep 02, 2020 at 05:58:16PM +0100, Alex Dewar wrote: > check_charging_duration() contains some copy-pasted code, which makes it > less readable. Refactor the function to be a bit tidier. > > I've also fixed a couple of typos. > > Signed-off-by: Alex Dewar > --- >

Re: [PATCH] power: supply: charger-manager: Tidy function

2020-09-19 Thread Alex Dewar
On 2020-09-02 17:58, Alex Dewar wrote: check_charging_duration() contains some copy-pasted code, which makes it less readable. Refactor the function to be a bit tidier. Ping? I've also fixed a couple of typos. Signed-off-by: Alex Dewar --- drivers/power/supply/charger-manager.c | 39

[PATCH] power: supply: charger-manager: Tidy function

2020-09-02 Thread Alex Dewar
check_charging_duration() contains some copy-pasted code, which makes it less readable. Refactor the function to be a bit tidier. I've also fixed a couple of typos. Signed-off-by: Alex Dewar --- drivers/power/supply/charger-manager.c | 39 +- 1 file changed, 14