Re: [PATCH v1 2/5] usb: fotg210-hcd: Don't shadow error codes in store()
From: Linus Walleij
Date: Thu Jan 26 2023 - 15:00:54 EST
On Fri, Jan 20, 2023 at 4:44 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> kstrtox() along with regmap API can return different error codes based on
> circumstances.
>
> Don't shadow them when returning to the caller.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij