diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-08-09 10:10:23 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-08-16 15:18:53 +0300 |
commit | d30bdfc0ecf885ca0495bdee522cb9d7ee005cf8 (patch) | |
tree | e30309fba97560d851c6fc45f0474de8c02425ab /drivers/base/power/clock_ops.c | |
parent | 2c8db5bef9fb442a5a0d2fee28aed20100362ce3 (diff) | |
download | linux-d30bdfc0ecf885ca0495bdee522cb9d7ee005cf8.tar.xz |
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: Chuhong Yuan <hslester96@gmail.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power/clock_ops.c')
0 files changed, 0 insertions, 0 deletions