On Tue, 22 May 2018, Andy Shevchenko <andy.shevche...@gmail.com> wrote: > On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie <xieyishe...@huawei.com> wrote: >> match_string() returns the index of an array for a matching string, >> which can be used intead of open coded variant. > > https://patchwork.kernel.org/patch/10382323/
Even more convincingly, 47d4cb8ae8e7 ("i915: Convert to use match_string() helper") BR, Jani. > >> Cc: Jani Nikula <jani.nik...@linux.intel.com> >> Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com> >> Cc: Rodrigo Vivi <rodrigo.v...@intel.com> >> Cc: David Airlie <airl...@linux.ie> >> Cc: intel-...@lists.freedesktop.org >> Cc: dri-de...@lists.freedesktop.org -- Jani Nikula, Intel Open Source Graphics Center