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:
Isaac J. Manjarres <isaacm@codeaurora.org>
Loading
Please register or sign in to comment