Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231914
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Olliver Schinagl <oliver+list@schinagl.nl> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] gpio: gpiolib: fix identation |
| Date | Thu, 24 Sep 2015 09:20:02 +0200 |
| Message-ID | <qc8YV-4tW-7@gated-at.bofh.it> (permalink) |
| X-Original-To | Linus Walleij <linus.walleij@linaro.org>, Alexandre Courbot <gnurou@gmail.com>, Mika Westerberg <mika.westerberg@linux.intel.com> |
| X-Mailer | git-send-email 2.5.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 30 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Olliver Schinagl <oliver@schinagl.nl> |
| X-Original-Date | Thu, 24 Sep 2015 09:14:52 +0200 |
| X-Original-Message-ID | <1443078892-4417-1-git-send-email-oliver+list@schinagl.nl> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1231914 |
Show key headers only | View raw
From: Olliver Schinagl <oliver@schinagl.nl>
Just a very small cosmetical indentation fix, no code changes
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
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]);
--
2.5.1
--
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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 1/1] gpio: gpiolib: fix identation Olliver Schinagl <oliver+list@schinagl.nl> - 2015-09-24 09:20 +0200
csiph-web