Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1111b783 authored by Xie Yisheng's avatar Xie Yisheng Committed by Rafael J. Wysocki
Browse files

cpufreq: intel_pstate: use match_string() helper



match_string() returns the index of an array for a matching string,
which can be used instead of open coded variant.

Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarYisheng Xie <xieyisheng1@huawei.com>
Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 021c9179
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