webos-image: sleepd=20
webos-image: sleepd=20

:Release Notes:
Correct static analysis issues and convert to use PmLogLib for logging.

:Detailed Notes:
Static analysis uncovered a variety of issues (see GF-37173 for details)
including:
- Resource leaks
- Not testing correctly for file open failures
- unsafe parsing of time and date using sscanf
- High usage of goto causing memory leaks

submissions/19..submissions/20
6322504 Code Formatting Cleanup
04063a7 Logs Conversion
bea277e Coverity issues bug fixes

:Testing Performed:
Tested for regressions on device

:QA Notes:

:Issues Addressed:
[GF-5156]  sleepd: Log using the new pmloglib API
[GF-37173] sleepd: Coverity Issues
[GF-42620] CCC: sleepd=20

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <62fb45708ac3f392369421d5b0d5e49e3fca4211@lge.com>
Change-Id: Ib150c53a524e4118723755d6c60587ffad930e83
Reviewed-on: https://g2g.palm.com/3674
Reviewed-by: Herb Kuta <b3a29751759f7c347ddccce0da8ed5b3d511fcd0@lge.com>
Tested-by: Herb Kuta <b3a29751759f7c347ddccce0da8ed5b3d511fcd0@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <62fb45708ac3f392369421d5b0d5e49e3fca4211@lge.com>
Tested-by: Keith Derrick <62fb45708ac3f392369421d5b0d5e49e3fca4211@lge.com>
Reviewed-by: Jongho Kim <e423511dc34a1aa69e12091136f097d9f3dde2e2@lge.com>
Tested-by: Jongho Kim <e423511dc34a1aa69e12091136f097d9f3dde2e2@lge.com>

openwebos/meta-webos,Garfonso/meta-webos-ports,nizovn/meta-webos-ports,openwebos/meta-webos,nizovn/meta-webos-ports,Garfonso/meta-webos-ports,openwebos/meta-webos,openwebos/meta-webos