From patchwork Thu Sep 24 07:14:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olliver Schinagl X-Patchwork-Id: 522137 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E6302140281 for ; Thu, 24 Sep 2015 17:15:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753549AbbIXHPG (ORCPT ); Thu, 24 Sep 2015 03:15:06 -0400 Received: from 7of9.schinagl.nl ([88.159.158.68]:54327 "EHLO 7of9.schinagl.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752680AbbIXHPF (ORCPT ); Thu, 24 Sep 2015 03:15:05 -0400 Received: from um-mba-140.wifi.ns.nl (unknown [145.15.244.32]) by 7of9.schinagl.nl (Postfix) with ESMTPA id 4D1FC402D5; Thu, 24 Sep 2015 09:14:58 +0200 (CEST) From: Olliver Schinagl To: Linus Walleij , Alexandre Courbot , Mika Westerberg Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Olliver Schinagl Subject: [PATCH 1/1] gpio: gpiolib: fix identation Date: Thu, 24 Sep 2015 09:14:52 +0200 Message-Id: <1443078892-4417-1-git-send-email-oliver+list@schinagl.nl> X-Mailer: git-send-email 2.5.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Olliver Schinagl Just a very small cosmetical indentation fix, no code changes Signed-off-by: Olliver Schinagl --- drivers/gpio/gpiolib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 980c1f8..5ef9ac2 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -1746,6 +1746,8 @@ static struct gpio_desc *acpi_find_gpio(struct device *dev, const char *con_id, if (con_id && strcmp(con_id, "gpios")) { snprintf(propname, sizeof(propname), "%s-%s", con_id, gpio_suffixes[i]); + if (!IS_ERR(desc) || (PTR_ERR(desc) == -EPROBE_DEFER)) + break; } else { snprintf(propname, sizeof(propname), "%s", gpio_suffixes[i]);