Fix the restore_scaling_governor_states function in

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

TEST=test on a chromebook device

Change-Id: I1d9b004efd4bc38b2160a054234ba6b7f3185e53
Reviewed-by: Pawel Osciak <>
Reviewed-by: Wu-Cheng Li <>
Reviewed-by: Ilja Friedel <>
Commit-Queue: Wen-Ding Li <>
Tested-by: Wen-Ding Li <>
1 file changed