Skip to content
Commit d30bdfc0 authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Rafael J. Wysocki
Browse files

PM: sleep: Replace strncmp() with str_has_prefix()



Use str_has_prefix() instead of strncmp() which is less
straightforward in decode_state().

Signed-off-by: default avatarChuhong Yuan <hslester96@gmail.com>
[ rjw: Subject & changelog ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 2c8db5be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment