From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v1 3/4] platform/x86: surface3_button: Propagate error from gpiod_count() Date: Tue, 14 Mar 2017 10:46:08 +0100 Message-ID: References: <20170220161549.39490-1-andriy.shevchenko@linux.intel.com> <20170220161549.39490-4-andriy.shevchenko@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20170220161549.39490-4-andriy.shevchenko@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Andy Shevchenko Cc: "linux-gpio@vger.kernel.org" , Dmitry Torokhov , Linux Input , Darren Hart , platform-driver-x86 , Benjamin Tissoires , "linux-kernel@vger.kernel.org" List-Id: linux-gpio@vger.kernel.org On Mon, Feb 20, 2017 at 5:15 PM, Andy Shevchenko 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 > Signed-off-by: Andy Shevchenko As I understand it Andy, you're more or less default-maintainer for drivers/platform/x86 so I can just merge this patch into the GPIO tree with the rest? Yours, Linus Walleij