power: add handling code to return check
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 26 Jan 2023 11:19:11 +0000 (20:19 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Jan 2023 03:30:39 +0000 (12:30 +0900)
commit410eea7a008c26cff21c90addd72cf384561c039
tree13b6024a9f3560dcc84d91844515891f33fe4f63
parentfb09d7a7d3ce383613790e12fb2d9002f40655d4
power: add handling code to return check

Add handling code to resolve issue reported by static analysis.

Change-Id: I960daea8e8c670579bf2ab0b98cfb5a5842a9b68
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
(cherry picked from commit 51a87ea655edc22411975eefc192a646f4113ae8)
src/power/power-off.c
src/power/power.c