Re: [PATCH 01/33] usb: phy: use match_string() helper

From: Andy Shevchenko
Date: Mon May 21 2018 - 17:25:33 EST


On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie <xieyisheng1@xxxxxxxxxx> wrote:
> match_string() returns the index of an array for a matching string,
> which can be used intead of open coded variant.

> - int err, i;
> + int ret;

int err;

would still work.

--
With Best Regards,
Andy Shevchenko