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

Skip to content
Commit 5a3f2a62 authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: use is_usb/dc_chg_plugged in



Remove code that doesn't check for null pointer exceptions
and instead use the safe internal function to check wether
a USB or DC charger is connected.

Change-Id: I80cba398b0928dc8d15cdb6f8af6c49e515448ef
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent d66c3239
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