diff options
author | Andy Shevchenko <[email protected]> | 2019-06-21 14:36:24 +0300 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2019-06-21 23:09:24 +0200 |
commit | af668d6518dcf7106bf4eef1641d8143842dc9cc (patch) | |
tree | 88772b3adea3b0725dab0aa921bcbd33c79b2503 /net/lapb/lapb_timer.c | |
parent | c9913ac42135cf7f1c8986bcb175c5a7dda126e6 (diff) |
i2c: i801: 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: Andy Shevchenko <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions