OSDN Git Service

drm: panel-orientation-quirks: Convert to use match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 May 2018 18:41:19 +0000 (21:41 +0300)
committerSean Paul <seanpaul@chromium.org>
Thu, 10 May 2018 15:36:25 +0000 (11:36 -0400)
commit818c05d8e2679e27800b9ce5bc2b0a89ecd164e8
tree0910b836409f9e97d6aedfa7e0228d61286b6f51
parent2f065d8ae918159791474049ab67a0cb85723b81
drm: panel-orientation-quirks: Convert to use match_string() helper

The new helper returns index of the matching string in an array.
We are going to use it here.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180503184119.22355-1-andriy.shevchenko@linux.intel.com
drivers/gpu/drm/drm_panel_orientation_quirks.c