diff options
author | Andy Shevchenko <[email protected]> | 2018-05-15 20:57:59 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-05-16 09:47:22 +0200 |
commit | 13a4db9d75ec5dbca4bd6229e149e061ef7a6bf0 (patch) | |
tree | b5ea135939f1c519b52828fa70910c7e12a426e5 /drivers/fpga/fpga-bridge.c | |
parent | 67b8d5c7081221efa252e111cd52532ec6d4266f (diff) |
x86/mtrr: Convert to use match_string() helper
The helper returns index of the matching string in an array.
Replace the open coded array lookup with match_string().
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Luis R. Rodriguez <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Toshi Kani <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions