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

Commit 18028711 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

power: smb23x-charger: Remove wakeup source if probe failed



The wakeup source need to be removed from the wakeup_sources list if the
driver probe failed, to prevent wakeup source trash reference and
causing unexpected behavior.

While at it, fix few coding style issues.

Change-Id: Idc4a9041f22c820586495c57c2ae6229ff3fbb57
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent e3bb1fd4
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