From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pramod Gurav Subject: Re: [PATCH] HID: cp2112: remove use of gpiochip_remove() retval Date: Wed, 01 Oct 2014 12:56:43 +0530 Message-ID: <542BACB3.3010203@smartplayin.com> References: <1412087049-4368-1-git-send-email-pramod.gurav@smartplayin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-input-owner@vger.kernel.org To: Jiri Kosina Cc: linux-kernel@vger.kernel.org, Linus Walleij , Alexandre Courbot , linux-input@vger.kernel.org, linux-gpio@vger.kernel.org List-Id: linux-gpio@vger.kernel.org On Wednesday 01 October 2014 12:48 PM, Jiri Kosina wrote: >> > Get rid of using return value from gpiochip_remove() as it returns >> > void. >> > >> > Cc: Linus Walleij >> > Cc: Alexandre Courbot >> > Cc: Jiri Kosina >> > Cc: linux-input@vger.kernel.org >> > Cc: linux-gpio@vger.kernel.org >> > >> > Signed-off-by: Pramod Gurav > I guess this depends on some other patch that hasn't gone to Linus yet, > right? As Linus' tree currently has this prototype: > > int gpiochip_remove(struct gpio_chip *chip) Yes. It is yet to make it to linus's tree. But the change is there in linux-next master branch. Thanks Pramod