ata: hpt37x: Convert to use match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 May 2018 21:20:16 +0000 (00:20 +0300)
committerTejun Heo <tj@kernel.org>
Mon, 7 May 2018 15:50:30 +0000 (08:50 -0700)
commitdc85ca573b95e99d325ab9fbd430c52c6f67501b
tree0a2f13852f431e3f3a17fb4ca603f0f39405d47f
parent75bc37fefc4471e718ba8e651aa74673d4e0a9eb
ata: hpt37x: 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>
drivers/ata/pata_hpt37x.c