rdmacg: Convert to use match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 4 May 2018 14:42:16 +0000 (17:42 +0300)
committerTejun Heo <tj@kernel.org>
Mon, 7 May 2018 16:27:26 +0000 (09:27 -0700)
commitcc659e76f375ab158fb682c1e39b2a22bf9f7657
tree421a281bb718cd1026f3b267dc98247d4684709f
parentc43c5ea75fd53cae3c8b63e1a27efc4cff6508d3
rdmacg: Convert to use match_string() helper

The new helper returns index of the matching string in an array.
We are going to use it here.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/rdma.c