summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-06-21 14:36:24 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-06-21 23:09:24 +0200
commitaf668d6518dcf7106bf4eef1641d8143842dc9cc (patch)
tree88772b3adea3b0725dab0aa921bcbd33c79b2503 /net
parentc9913ac42135cf7f1c8986bcb175c5a7dda126e6 (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 <andriy.shevchenko@linux.intel.com> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions