Thread (17 messages) 17 messages, 5 authors, 2017-03-16

Re: [PATCH v1 4/4] Input: soc_button_array - Propagate error from gpiod_count()

From: Linus Walleij <hidden>
Date: 2017-03-16 15:19:35
Also in: linux-gpio, lkml, platform-driver-x86

On Mon, Feb 20, 2017 at 5:15 PM, Andy Shevchenko
[off-list ref] 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 <redacted>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Patch applied with Dmitry's ACK.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help