drm/i915/params: use generics for parameter debugfs file creation
authorJani Nikula <jani.nikula@intel.com>
Wed, 18 Jan 2023 15:18:00 +0000 (17:18 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 25 Jan 2023 14:25:36 +0000 (16:25 +0200)
commit01ce74463718a6ca6b71ede2e68b9ecc74d3f177
tree48d7eb1ac914658a55767451d0358911e691da85
parent7448d336bc976984a9d6bb0b9c3c6f219c5f52ce
drm/i915/params: use generics for parameter debugfs file creation

Replace the __builtin_strcmp() if ladder with generics.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230118151800.3669913-4-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_debugfs_params.c