Revert "Power: Changes the permission to read only for sysfs file"

This reverts commit ec1f524a6980fb76d8ba42df1c351ec6c7a4a52a.
Revert "POWER: fix compile warnings in log_wakeup_reason"

This reverts commit 139c68a154c92ae4b65c53286467442e1c26aecc.
Revert "Power: add an API to log wakeup reasons"

This reverts commit 3601e119c4adf482d25e32def8e818d5bb32b68d.