diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-11-07 22:32:23 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-10 10:34:45 +0100 |
commit | a1df271a8652723786923f8314c07ac1e8a35e2f (patch) | |
tree | 4c856b631a97be8c6089bae93878879c5332f435 /drivers/staging/vc04_services | |
parent | staging/qlge: fix block comment coding style (diff) | |
download | linux-dev-a1df271a8652723786923f8314c07ac1e8a35e2f.tar.xz linux-dev-a1df271a8652723786923f8314c07ac1e8a35e2f.zip |
staging: hp100: 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>
Link: https://lore.kernel.org/r/20191107143223.44696-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services')
0 files changed, 0 insertions, 0 deletions