Thread (13 messages) 13 messages, 5 authors, 2019-07-28

Re: [PATCH v3 2/2] Input: soc_button_array - Add support for newer surface devices

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2019-07-28 10:01:48
Also in: lkml, platform-driver-x86

On Sat, Jul 27, 2019 at 02:01:26PM +0200, Maximilian Luz wrote:
On 7/27/19 11:14 AM, Dmitry Torokhov wrote:
quoted
On Sat, Jul 20, 2019 at 05:05:11PM +0200, Maximilian Luz wrote:
quoted
-
-	error = gpiod_count(dev, NULL);
-	if (error < 0) {
-		dev_dbg(dev, "no GPIO attached, ignoring...\n");
-		return -ENODEV;
I do not think we need to move this into individual "check" functions.
It is needed in all cases so we should keep it here.

How about version below?
Makes sense, looks good to me!
OK, great, applied.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help