Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e839a448 authored by Chris Lapa's avatar Chris Lapa Committed by Sebastian Reichel
Browse files

power: supply: bq27xxx: move overtemp tests to a switch statement.



This is done for readability as the upcoming commits will add a lot of
cases.

tested: no

Signed-off-by: default avatarChris Lapa <chris@lapa.com.au>
Acked-by: default avatarPali Rohár <pali.rohar@gmail.com>
Reviewed-by: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 7cbad9fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment