Re: [PATCH 10/33] pata_hpt37x: use match_string() helper

2018-05-21 Thread Andy Shevchenko
On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used intead of open coded variant. > https://www.spinics.net/lists/linux-ide/msg55658.html > Cc: Bartlomiej Zolnierkiewicz > Cc: Tejun Heo > Cc: linux-...@vg

[PATCH 10/33] pata_hpt37x: use match_string() helper

2018-05-21 Thread Yisheng Xie
match_string() returns the index of an array for a matching string, which can be used intead of open coded variant. Cc: Bartlomiej Zolnierkiewicz Cc: Tejun Heo Cc: linux-...@vger.kernel.org Signed-off-by: Yisheng Xie --- drivers/ata/pata_hpt37x.c | 13 + 1 file changed, 5 insertion