diff options
author | Xie Yisheng <xieyisheng1@huawei.com> | 2018-05-31 19:11:15 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-02 11:25:40 +0200 |
commit | 1111b7836c80ec4094318e1dfb3a5abe6df95afb (patch) | |
tree | e814b5d549bf4f61f5b04c9809f14a8541f90370 /Documentation/nios2 | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff) | |
download | blackbird-op-linux-1111b7836c80ec4094318e1dfb3a5abe6df95afb.tar.gz blackbird-op-linux-1111b7836c80ec4094318e1dfb3a5abe6df95afb.zip |
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: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/nios2')
0 files changed, 0 insertions, 0 deletions