summaryrefslogtreecommitdiff
path: root/drivers/base/power/clock_ops.c
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-08-09 10:10:23 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-08-16 15:18:53 +0300
commitd30bdfc0ecf885ca0495bdee522cb9d7ee005cf8 (patch)
treee30309fba97560d851c6fc45f0474de8c02425ab /drivers/base/power/clock_ops.c
parent2c8db5bef9fb442a5a0d2fee28aed20100362ce3 (diff)
downloadlinux-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