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

Skip to content
Commit 71351415 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

power: reset: Remove CONFIG_QCOM_DLOAD_MODE config option



Currently, the msm-poweroff driver has several ifdefs for
CONFIG_QCOM_DLOAD_MODE littered throughout the code, which
impacts the readability. Since this flag is
always set when the msm poweroff driver is compiled, there
is no need for conditional compilation, so drop the
CONFIG_QCOM_DLOAD_MODE config.

Also, separate some of the longer parts of the dload code
into their own functions, for the sake of readability,
and do a general cleanup of the dload mode code.

Change-Id: Ib9b6c2c48e1c6edef5299a796c3b0f6f10254b98
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent b344d45d
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