7135141511
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> |
||
---|---|---|
.. | ||
arm-versatile-reboot.c | ||
as3722-poweroff.c | ||
at91-poweroff.c | ||
at91-reset.c | ||
at91-sama5d2_shdwc.c | ||
axxia-reset.c | ||
brcm-kona-reset.c | ||
brcmstb-reboot.c | ||
gemini-poweroff.c | ||
gpio-poweroff.c | ||
gpio-restart.c | ||
hisi-reboot.c | ||
Kconfig | ||
keystone-reset.c | ||
ltc2952-poweroff.c | ||
Makefile | ||
msm-poweroff.c | ||
ocelot-reset.c | ||
piix4-poweroff.c | ||
qcom-pon.c | ||
qnap-poweroff.c | ||
reboot-mode.c | ||
restart-poweroff.c | ||
rmobile-reset.c | ||
sc27xx-poweroff.c | ||
st-poweroff.c | ||
syscon-poweroff.c | ||
syscon-reboot-mode.c | ||
syscon-reboot.c | ||
vexpress-poweroff.c | ||
xgene-reboot.c | ||
zx-reboot.c |