Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751263AbaJAGHd (ORCPT ); Wed, 1 Oct 2014 02:07:33 -0400 Received: from smtp113.ord1c.emailsrvr.com ([108.166.43.113]:58382 "EHLO smtp113.ord1c.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbaJAGHc (ORCPT ); Wed, 1 Oct 2014 02:07:32 -0400 X-Sender-Id: pramod.gurav@smartplayin.com From: Pramod Gurav To: linux-kernel@vger.kernel.org Cc: Pramod Gurav , Linus Walleij , Alexandre Courbot , Michael Buesch , netdev@vger.kernel.org Subject: [PATCH] ssb: gpio: remove use of gpiochip_remove() retval Date: Wed, 1 Oct 2014 11:41:02 +0530 Message-Id: <1412143862-20866-1-git-send-email-pramod.gurav@smartplayin.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Get rid of using return value from gpiochip_remove() as it returns void with a new change in kernel. Cc: Linus Walleij Cc: Alexandre Courbot Cc: Michael Buesch Cc: netdev@vger.kernel.org Signed-off-by: Pramod Gurav --- drivers/ssb/driver_gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ssb/driver_gpio.c b/drivers/ssb/driver_gpio.c index ba350d2..f92e266 100644 --- a/drivers/ssb/driver_gpio.c +++ b/drivers/ssb/driver_gpio.c @@ -475,7 +475,8 @@ int ssb_gpio_unregister(struct ssb_bus *bus) { if (ssb_chipco_available(&bus->chipco) || ssb_extif_available(&bus->extif)) { - return gpiochip_remove(&bus->gpio); + gpiochip_remove(&bus->gpio); + return 0; } else { SSB_WARN_ON(1); } -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/