]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit797b163cd20b21c6962b1513cf1635aedc705cef
tree0910b836409f9e97d6aedfa7e0228d61286b6f51
parent614722e237d2457c0e405a594b532cf05eacbeef
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