power: Move shutdown exclusive code to shutdown.c 67/296267/3
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Jul 2023 11:30:37 +0000 (20:30 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 25 Jul 2023 01:34:56 +0000 (10:34 +0900)
commit7483ce100c61890b5fd98eccb2af630b5958c67e
treeae959f3e5f0d7763b922e34b87d54e8e3dbe8302
parentc96579344c1e2ac1b9cd86c5303a32f5e5626af1
power: Move shutdown exclusive code to shutdown.c

umount_partition_by_kill() and its subroutine functions are only used
by the shutdown binary. Therefore relocate it from shared library to
shutdown binary.

Change-Id: I1d88b5892cdf1d918b674f30d095ab56c2a8743c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
CMakeLists.txt
src/power-shutdown/shutdown.c
src/shared/common.c
src/shared/common.h
src/shared/execute.c [deleted file]