[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYeHSsRBOUQKXZdxy67RFp8g_-KhjFxChro1_j8mgWLkw@mail.gmail.com>
Date: Tue, 20 Jun 2017 09:15:30 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Andy Shevchenko <andy.shevchenko@...il.com>,
Alexandre Courbot <gnurou@...il.com>,
Bamvor Jian Zhang <bamvor.zhangjian@...aro.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 5/8] gpio: mockup: don't return magic numbers from probe()
On Fri, Jun 9, 2017 at 1:41 PM, Bartosz Golaszewski <brgl@...ev.pl> wrote:
> When the requested number of GPIO lines is 0, return -EINVAL, not
> -1 which is -EPERM.
>
> Signed-off-by: Bartosz Golaszewski <brgl@...ev.pl>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists