Re: [PATCH v3 5/8] gpio: mockup: don't return magic numbers from probe()
From: Linus Walleij
Date: Tue Jun 20 2017 - 03:15:37 EST
On Fri, Jun 9, 2017 at 1:41 PM, Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> When the requested number of GPIO lines is 0, return -EINVAL, not
> -1 which is -EPERM.
>
> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
Patch applied.
Yours,
Linus Walleij