Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1602519
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v1 4/4] Input: soc_button_array - Propagate error from gpiod_count() |
| Date | 2017-03-16 16:20 +0100 |
| Message-ID | <tlFm3-cU-67@gated-at.bofh.it> (permalink) |
| References | <tcYQW-6Uz-7@gated-at.bofh.it> <tcYQX-6Uz-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Feb 20, 2017 at 5:15 PM, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > Since gpiod_count() does not return 0 anymore, we don't need to shadow > its error code and would safely propagate to the user. > > While here, replace second parameter by NULL in order to prevent side > effects on _DSD enabled firmware. > > Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Patch applied with Dmitry's ACK. Yours, Linus Walleij
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v1 4/4] Input: soc_button_array - Propagate error from gpiod_count() Linus Walleij <linus.walleij@linaro.org> - 2017-03-16 16:20 +0100
csiph-web