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

Skip to content
Commit 60cc24f1 authored by Maria Yu's avatar Maria Yu
Browse files

input: qpnp-power-on: set sys_reset_dev to NULL when fail probe



When it failed probe, sys_reset_dev pointed to the area
which will be freed later. So set sys_reset_dev to NULL
when failed probe.

Change-Id: I0a2baad84a355e923356a3e3c14ab007d7ecf63e
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent 5a580c0a
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