Fix the restore_scaling_governor_states function in site_utils.py

The input scaling governor state with trailing linefeed can not
be set properly, so remove the trailing linefeed before setting.

BUG=chromium:408002
TEST=test on a chromebook device

Change-Id: I1d9b004efd4bc38b2160a054234ba6b7f3185e53
Reviewed-on: https://chromium-review.googlesource.com/214432
Reviewed-by: Pawel Osciak <posciak@chromium.org>
Reviewed-by: Wu-Cheng Li <wuchengli@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Wen-Ding Li <wending@google.com>
Tested-by: Wen-Ding Li <wending@google.com>
1 file changed