Skip to content
Commit 2574c809 authored by YueHaibing's avatar YueHaibing Committed by Ben Skeggs
Browse files

drm/nouveau/kms/nv04-nv4x: Use match_string() helper to simplify the code



match_string() returns the array index of a matching string.
Use it instead of the open-coded implementation.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent d7ca5ddf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment