commit | 2574c809d7c0f07f11fdefd9894e51e126ee1d66 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Mon Dec 30 10:46:28 2019 +0800 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Jan 15 10:49:59 2020 +1000 |
tree | a881d434fac01175a3dc63edeaffcd89f8bd4b41 | |
parent | d7ca5ddf585e20e879e3ebe3e5be0a0477b700b8 [diff] |
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: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>